[Python-checkins] r42223 - peps/trunk/pep-0352.txt
brett.cannon
python-checkins at python.org
Wed Feb 1 23:35:30 CET 2006
Author: brett.cannon
Date: Wed Feb 1 23:35:30 2006
New Revision: 42223
Modified:
peps/trunk/pep-0352.txt
Log:
Add mention of Michael Hudson's patch for new-style exceptions as a basis for
any patch to implement this PEP. Also wrap a few lines that went past the 70
character fill length for Emacs.
Modified: peps/trunk/pep-0352.txt
==============================================================================
--- peps/trunk/pep-0352.txt (original)
+++ peps/trunk/pep-0352.txt Wed Feb 1 23:35:30 2006
@@ -190,13 +190,14 @@
specifically listed.
Deprecation of features in Python 2.9 is optional. This is because it
-is not known at this time if Python 2.9 (which is slated to be the last version
-in the 2.x series) will actively deprecate features that will not be in 3.0 .
-It is conceivable that no deprecation warnings will be used in 2.9 since
-there could be such a difference between 2.9 and 3.0 that it would make 2.9 too
-"noisy" in terms of warnings. Thus the proposed deprecation warnings for
-Python 2.9 will be revisited when development of that version begins to
-determine if they are still desired.
+is not known at this time if Python 2.9 (which is slated to be the
+last version in the 2.x series) will actively deprecate features that
+will not be in 3.0 . It is conceivable that no deprecation warnings
+will be used in 2.9 since there could be such a difference between 2.9
+and 3.0 that it would make 2.9 too "noisy" in terms of warnings. Thus
+the proposed deprecation warnings for Python 2.9 will be revisited
+when development of that version begins to determine if they are still
+desired.
* Python 2.5
@@ -231,6 +232,16 @@
- drop ``args`` and ``__getitem__``
+Implementation
+==============
+
+An initial patch to make exceptions new-style classes has been
+authored by Michael Hudson can be found at SF patch #1104669
+[#SF_1104669]_. While it does not implement all points mentioned in
+this PEP, it will most likely be used as a basis for the final path
+to implement this PEP.
+
+
References
==========
@@ -240,6 +251,9 @@
.. [#hierarchy-good] python-dev Summary for 2004年08月01日 through 2004年08月15日
http://www.python.org/dev/summary/2004-08-01_2004年08月15日.html#an-exception-is-an-exception-unless-it-doesn-t-inherit-from-exception
+.. [#SF_1104669] SF patch #1104669 (new-style exceptions)
+ http://www.python.org/sf/1104669
+
Copyright
=========
More information about the Python-checkins
mailing list