gh-104549: Set __module__ on TypeAliasType (#104550)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include "pycore_pymem.h" // _PyMem_IsPtrFreed()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_symtable.h" // PySTEntry_Type
|
||||
#include "pycore_typevarobject.h" // _PyTypeVar_Type etc., _Py_initialize_generic
|
||||
#include "pycore_typevarobject.h" // _PyTypeAlias_Type, _Py_initialize_generic
|
||||
#include "pycore_typeobject.h" // _PyBufferWrapper_Type
|
||||
#include "pycore_unionobject.h" // _PyUnion_Type
|
||||
#include "pycore_interpreteridobject.h" // _PyInterpreterID_Type
|
||||
@@ -2112,6 +2112,7 @@ static PyTypeObject* static_types[] = {
|
||||
&_PyWeakref_CallableProxyType,
|
||||
&_PyWeakref_ProxyType,
|
||||
&_PyWeakref_RefType,
|
||||
&_PyTypeAlias_Type,
|
||||
|
||||
// subclasses: _PyTypes_FiniTypes() deallocates them before their base
|
||||
// class
|
||||
|
||||
Reference in New Issue
Block a user