Distributive-Network / PythonMonkey

A Mozilla SpiderMonkey JavaScript engine embedded into the Python VM, using the Python engine to provide the JS host environment.
https://pythonmonkey.io
Other
854 stars 40 forks source link

check if exception was set before clearing it #384

Closed philippedistributive closed 4 months ago

philippedistributive commented 4 months ago

minor improvement

philippedistributive commented 3 months ago

We said it looks better for program logic to check first if it is the case