Skip to content

bpo-46417: Cleanup _PyExc_InitTypes()#30804

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:exc_initypes
Jan 22, 2022
Merged

bpo-46417: Cleanup _PyExc_InitTypes()#30804
vstinner merged 1 commit intopython:mainfrom
vstinner:exc_initypes

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.
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.

3 participants