Skip to content
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

bpo-46417: Cleanup _PyExc_InitTypes() #30804

Merged
merged 1 commit into from Jan 22, 2022
Merged

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 22, 2022

Add static_exceptions list to factorize code between
_PyExc_InitTypes() and _PyBuiltins_AddExceptions().

_PyExc_InitTypes() does nothing if it's not the main interpreter.

Sort exceptions in Lib/test/exception_hierarchy.txt.

https://bugs.python.org/issue46417

Add static_exceptions list to factorize code between
_PyExc_InitTypes() and _PyBuiltins_AddExceptions().

_PyExc_InitTypes() does nothing if it's not the main interpreter.

Sort exceptions in Lib/test/exception_hierarchy.txt.
@vstinner vstinner requested a review from iritkatriel as a code owner Jan 22, 2022
@vstinner vstinner merged commit f1bcdea into python:main Jan 22, 2022
10 of 11 checks passed
@vstinner vstinner deleted the exc_initypes branch Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants