Add sys.exc_clear for removal
This commit is contained in:
parent
2b59677334
commit
8f61b22a5d
|
@ -218,6 +218,8 @@ To be removed:
|
|||
* ``sys.exc_type``, ``sys.exc_values``, ``sys.exc_traceback``:
|
||||
not thread-safe; use ``sys.exc_info()`` or an attribute
|
||||
of the exception [2]_ [11]_ [#sys-module]_
|
||||
* ``sys.exc_clear``: Python 3's except statements provide the same
|
||||
functionality [24]_ [#pep3110]_ [#sys-module]_
|
||||
* ``array.read``, ``array.write`` [#array-module]_
|
||||
* ``operator.isCallable`` : ``callable()`` built-in is being removed
|
||||
[#operator-module]_
|
||||
|
@ -313,6 +315,9 @@ References
|
|||
.. [23] python-3000 email ("__nonzero__ vs. __bool__")
|
||||
http://mail.python.org/pipermail/python-3000/2006-November/004524.html
|
||||
|
||||
.. [24] python-3000 email ("Pre-peps on raise and except changes")
|
||||
http://mail.python.org/pipermail/python-3000/2007-February/005672.html
|
||||
|
||||
.. [#sys-module] Python docs (sys -- System-specific parameters and functions)
|
||||
http://docs.python.org/lib/module-sys.html
|
||||
|
||||
|
@ -364,6 +369,9 @@ References
|
|||
.. [#pep3107] PEP 3107 (Function Annotations)
|
||||
http://www.python.org/dev/peps/pep-3107
|
||||
|
||||
.. [#pep3110] PEP 3110 (Catching Exceptions in Python 3000)
|
||||
http://www.python.org/dev/peps/pep-3110/#semantic-changes
|
||||
|
||||
|
||||
Copyright
|
||||
=========
|
||||
|
|
Loading…
Reference in New Issue