[issue32125] Remove global configuration variable Py_UseClassExceptionsFlag

2017-11-24 Thread STINNER Victor

Change by STINNER Victor :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32125] Remove global configuration variable Py_UseClassExceptionsFlag

2017-11-24 Thread STINNER Victor

STINNER Victor  added the comment:


New changeset da9c8c36aeb60ad8f7748a735c372bf993d2e4f3 by Victor Stinner in 
branch 'master':
bpo-32125: Remove Py_UseClassExceptionsFlag flag (#4544)
https://github.com/python/cpython/commit/da9c8c36aeb60ad8f7748a735c372bf993d2e4f3


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32125] Remove global configuration variable Py_UseClassExceptionsFlag

2017-11-24 Thread STINNER Victor

Change by STINNER Victor :


--
keywords: +patch
pull_requests: +4479
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32125] Remove global configuration variable Py_UseClassExceptionsFlag

2017-11-24 Thread STINNER Victor

New submission from STINNER Victor :

The Py_UseClassExceptionsFlag flag was added by the commit 
035574d755bfc306704e9975dc10e4e05a47b3bb.

The commit 757af0e7bb7c7d56670fbc84f1f5b0182a54e3d5 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 98b6246c0c60f2831b0c7a66d8c0659ebac1ec32.

The flag was finally deprecated in the commit 
3ce096459e348c95c2c3348f8d84720f25c1a4c9 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 :-)

--
components: Interpreter Core
messages: 306900
nosy: vstinner
priority: normal
severity: normal
status: open
title: Remove global configuration variable Py_UseClassExceptionsFlag
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com