PyMiniRacer
PyMiniRacer copied to clipboard
'NoneType' object has no attribute 'mr_free_context'
Steps to reproduce
After upgrading to python 3.11.8 started getting
Exception ignored in: <function MiniRacer.del at 0xffff6a5c1bc0> | Traceback (most recent call last): | File "/usr/local/lib/python3.11/site-packages/py_mini_racer/py_mini_racer.py", line 315, in del | self.ext.mr_free_context(getattr(self, "ctx", None)) | ^^^^^^^^^^^^^^^^^^^^^^^^ | AttributeError: 'NoneType' object has no attribute 'mr_free_context'
Expected behavior
Tell us what should happen
Actual behavior
Tell us what happens instead
System configuration
PyMiniRacer version: 0.6.0
Python version: 3.11.8