[Python-checkins] peps: Record that old names won't be deprecated
antoine.pitrou
python-checkins at python.org
Wed Jul 27 00:51:42 CEST 2011
http://hg.python.org/peps/rev/0ccc29145ad5
changeset: 3911:0ccc29145ad5
user: Antoine Pitrou <solipsis at pitrou.net>
date: Wed Jul 27 00:40:58 2011 +0200
summary:
Record that old names won't be deprecated
files:
pep-3151.txt | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/pep-3151.txt b/pep-3151.txt
--- a/pep-3151.txt
+++ b/pep-3151.txt
@@ -276,8 +276,9 @@
Deprecation of names
--------------------
-It is not yet decided whether the old names will be deprecated (then removed)
-or all names will continue living forever in the builtins namespace.
+The following paragraphs outline a possible deprecation strategy for
+old exception names. However, it has been decided to keep them as aliases
+for the time being. This decision could be revised in time for Python 4.0.
built-in exceptions
'''''''''''''''''''
@@ -497,10 +498,8 @@
A reference implementation is available in
http://hg.python.org/features/pep-3151/ in branch ``pep-3151``. It is
also tracked on the bug tracker at http://bugs.python.org/issue12555.
-Its current state is that all semantic changes and additions are implemented,
-but the `deprecation of names`_ mechanism isn't. It has been successfully
-tested on a variety of systems: Linux, Windows, OpenIndiana and FreeBSD
-buildbots.
+It has been successfully tested on a variety of systems: Linux, Windows,
+OpenIndiana and FreeBSD buildbots.
One source of trouble has been with the respective constructors of ``IOError``
and ``WindowsError``, which were incompatible. The way it is solved is by
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list