You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue python#121: Fix a reference leak, if Python runs Python code while clearing a thread state
If Python clears a thread state and a destructor or a weakref-callback runs Python code, Python used to create a new initial stub without clearing it later. This change reorders PyThreadState_Clear() to clear the PyStacklessState sub-structure last. A new test case for this problem uses thread local storage to execute a __del__-method.
https://bitbucket.org/stackless-dev/stackless/issues/121
(grafted from ede2ad2b32b917d364f523318a82c75d0df2a0e6)
0 commit comments