Python 3.12: "Python memory allocator called without holding the GIL" on shutdown

Phil Thompson phil at riverbankcomputing.com
Fri Jun 16 15:34:07 BST 2023


On 16/06/2023 15:25, Scott Talbert wrote:
> Hi Phil,
> 
> Sorry for starting a new thread on this - I had already deleted the
> original messages.
> 
> Have you had a chance to look into the changes necessary for this
> issue? Is it as simple as replacing PyMem_Malloc with PyMem_RawMalloc
> and PyMem_Free with PyMem_RawFree ?

Yes - the change will be in tonight's snapshot.

Phil


More information about the PyQt mailing list