Skip to content

bpo-46417: Cleanup _PyExc_InitTypes() - #30804

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

vstinner merged 1 commit into
python:mainfrom
vstinner:exc_initypes

Conversation

@vstinner

@vstinner vstinner commented Jan 22, 2022 •

Copy link
Copy Markdown
Member

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

3 participants