gh-91632: Fix generic_alias_iterator to be finalized at exit.#91727
gh-91632: Fix generic_alias_iterator to be finalized at exit.#91727corona10 merged 5 commits intopython:mainfrom
Conversation
c7d5777 to
39886d9
Compare
|
I can't review this since I have no clue on the process of freeing memory on exit. But when do we add a type to |
I propose two approaches:
|
Misc/NEWS.d/next/Core and Builtins/2022-04-20-14-43-37.gh-issue-91632.cvUhsZ.rst
Outdated
Show resolved
Hide resolved
…e-91632.cvUhsZ.rst Co-authored-by: Victor Stinner <vstinner@python.org>
|
Should this be backported? |
|
@JelleZijlstra No. Generic alias iterator is part of the variadic generics PEP which is 3.11 only iirc. |
The work to clear static types at exit is new in Python 3.11 (especially the _PyTypes_FiniTypes() function). |
AS-IS
TO-BE
Follow Victor's suggestion :)
closes: #91632