Hi there
I’m currently transporting to Python 3.12. Then, I hit a small wall to overcome where the process takes a few seconds to terminate.
The test code:
#! python3 -Wd -Xdev -Xtracemalloc
import wx
will output the following error message on exit:
Fatal Python error: _PyMem_DebugFree: Python memory allocator called without holding the GIL
Python runtime state: finalizing (tstate=0x00007ffccc272fe8)
Tested with wxPython 4.2.1 / Python 3.12.1 on Windows 10.
I don’t see where the problem should be addressed.
I’m not sure, but the problem may be related to recent posts: