[Python-checkins] r42841 - peps/trunk/pep-0352.txt

brett.cannon python-checkins at python.org
Sat Mar 4 21:42:03 CET 2006


Author: brett.cannon
Date: Sat Mar  4 21:42:02 2006
New Revision: 42841

Modified:
   peps/trunk/pep-0352.txt
Log:
Clarify some wording as suggested by Nick Coghlan.


Modified: peps/trunk/pep-0352.txt
==============================================================================
--- peps/trunk/pep-0352.txt	(original)
+++ peps/trunk/pep-0352.txt	Sat Mar  4 21:42:02 2006
@@ -18,7 +18,9 @@
 exception.  The plan is to allow new-style classes starting in Python
 2.5, but this makes the problem worse -- it would mean *any* class (or
 instance) can be raised (this is not the case in the final version;
-only built-in exceptions can be new-style)!  This is a problem since it
+only built-in exceptions can be new-style which means you need to
+inherit from a built-in exception to have user-defined exceptions also
+by new-style)!  This is a problem since it
 prevents any guarantees to be made about the interface of exceptions.
 This PEP proposes introducing a new superclass that all raised objects
 must inherit from.  Imposing the restriction will allow a standard


More information about the Python-checkins mailing list