You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove global configuration variable Py_UseClassExceptionsFlag #76306
Activity
vstinner commentedon Nov 24, 2017
The Py_UseClassExceptionsFlag flag was added by the commit 035574d.
The commit 757af0e started to use this flag:
+ /* if Python was started with -X, initialize the class exceptions */
+ if (Py_UseClassExceptionsFlag)
+ init_class_exc(dict);
Later followed by commit 98b6246.
The flag was finally deprecated in the commit 3ce0964 in 2000.
All these changes are older than Python 2.0.
In Python 2.7 and 3.6, the flag is not used at all.
I think that it's time to remove it :-)
vstinner commentedon Nov 24, 2017
New changeset da9c8c3 by Victor Stinner in branch 'master':
bpo-32125: Remove Py_UseClassExceptionsFlag flag (bpo-4544)
da9c8c3