commit | 025c347d611cb58a2cfc3671615891bd3bc1217a | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Thu Nov 29 23:35:25 2007 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Thu Nov 29 23:35:25 2007 +0000 |
tree | 93be5e148ee7faed71a6c20ea115306133b43844 | |
parent | 82225b77372746c39ab4efd752b52ebaa227efe8 [diff] |
Issue #1402: PyInterpreterState_Clear() may still invoke user code (in deallocation of running threads, for example), so the PyGILState_Release() function must still be functional. On the other hand, _PyGILState_Fini() only frees memory, and can be called later. Backport candidate, but only after some experts comment on it.