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
static PyTypeObject Py_GenericAliasIterType = {...} of Objects/genericaliasobject.c is not cleared at exit. It's a variant of https://bugs.python.org/issue46417
Either the type should be accessible in Objects/object.c for _PyTypes_FiniTypes() (remove "static", add "_" to hide the symbol). Or a _PyGenericAlias_Fini() function should be added in called in finalize_interp_types() in the main interpreter.
Activity
corona10 commentedon Apr 17, 2022
cc @vstinner
vstinner commentedon Apr 19, 2022
static PyTypeObject Py_GenericAliasIterType = {...}of Objects/genericaliasobject.c is not cleared at exit. It's a variant of https://bugs.python.org/issue46417Either the type should be accessible in Objects/object.c for
_PyTypes_FiniTypes()(remove "static", add "_" to hide the symbol). Or a _PyGenericAlias_Fini() function should be added in called in finalize_interp_types() in the main interpreter.gh-91632: Fix generic_alias_iterator to be finalized at exit. (GH-91727)