Add sys.exc_clear for removal

This commit is contained in:
Collin Winter 2007-02-10 01:17:29 +00:00
parent 2b59677334
commit 8f61b22a5d
1 changed files with 8 additions and 0 deletions

View File

@ -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]_
@ -312,6 +314,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
@ -363,6 +368,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