bpo-46417: Factorize _PyExc_InitTypes() code (GH-30804)
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.
V
Victor Stinner committed
f1bcdeaca6e912a2bec1fbcff76cc49e7f761d38
Parent: a941e59
Committed by GitHub <noreply@github.com>
on 1/22/2022, 8:48:56 PM