8000 gh-91632: Fix generic_alias_iterator to be finalized at exit. by corona10 · Pull Request #91727 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-91632: Fix generic_alias_iterator to be finalized at exit. #91727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address Victor's review
  • Loading branch information
corona10 committed Apr 20, 2022
commit d60df1317cf4b7694b25873d997cb09bb84eb65b
16 changes: 0 additions & 16 deletions Include/internal/pycore_genericaliasobject.h

This file was deleted.

2 changes: 1 addition & 1 deletion Objects/object.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "pycore_unionobject.h" // _PyUnion_Type
#include "frameobject.h" // PyFrame_Type
#include "pycore_interpreteridobject.h" // _PyInterpreterID_Type
#include "pycore_genericaliasobject.h" // _Py_GenericAliasIterType

#ifdef Py_LIMITED_API
// Prevent recursive call _Py_IncRef() <=> Py_INCREF()
Expand Down Expand Up @@ -1835,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
Expand Down
0