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
gh-155358: Convert sys structseq types to heap types
Convert the following structseq types from static (built-in) types to
heap types:
* AsyncGenHooksType
* Hash_InfoType
* WindowsVersionType
* FlagsType
* VersionInfoType
So these types are no longer shared between sub-interpreters.
Cleanup also the EmscriptenInfoType type.
Changes:
* Replace _PyStructSequence_InitBuiltin() with
PyStructSequence_NewType() or _PyStructSequence_NewType().
* Add PyInterpreterState.sys_state structure.
* Rename sys.get_asyncgen_hooks() type from "asyncgen_hooks" to
"sys.asyncgen_hooks".
* Add test.support.check_immutable_type().
0 commit comments