mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
gh-91632: Fix generic_alias_iterator to be finalized at exit. (GH-91727)
This commit is contained in:
parent
f92bcfe6de
commit
f571c26fc1
3 changed files with 7 additions and 2 deletions
|
|
@ -1834,6 +1834,7 @@ _PyTypes_InitState(PyInterpreterState *interp)
|
|||
#ifdef MS_WINDOWS
|
||||
extern PyTypeObject PyHKEY_Type;
|
||||
#endif
|
||||
extern PyTypeObject _Py_GenericAliasIterType;
|
||||
|
||||
static PyTypeObject* static_types[] = {
|
||||
// The two most important base types: must be initialized first and
|
||||
|
|
@ -1923,6 +1924,7 @@ static PyTypeObject* static_types[] = {
|
|||
&_PyAsyncGenWrappedValue_Type,
|
||||
&_PyContextTokenMissing_Type,
|
||||
&_PyCoroWrapper_Type,
|
||||
&_Py_GenericAliasIterType,
|
||||
&_PyHamtItems_Type,
|
||||
&_PyHamtKeys_Type,
|
||||
&_PyHamtValues_Type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue