[Python-checkins] r83029 - sandbox/trunk/errnopep/pepXXXX.txt
antoine.pitrou
python-checkins at python.org
Wed Jul 21 18:16:19 CEST 2010
Author: antoine.pitrou
Date: Wed Jul 21 18:16:19 2010
New Revision: 83029
Log:
Cosmetics
Modified:
sandbox/trunk/errnopep/pepXXXX.txt
Modified: sandbox/trunk/errnopep/pepXXXX.txt
==============================================================================
--- sandbox/trunk/errnopep/pepXXXX.txt (original)
+++ sandbox/trunk/errnopep/pepXXXX.txt Wed Jul 21 18:16:19 2010
@@ -202,8 +202,7 @@
* alias WindowsError to OSError
Each of these changes doesn't preserve exact compatibility, but it does
-preserve *useful compatibility* (see later for a definition of useful
-compatibility).
+preserve *useful compatibility* (see "compatibility" section above).
Not only does this first step present the user a simpler landscape, but
it also allows for a better and more complete resolution of step 2
@@ -243,8 +242,8 @@
Prerequisite, because some errnos can currently be attached to different
exception classes: for example, EBADF can be attached to both OSError and
IOError, depending on the context. If we don't want to break *useful
-compatibility*, we can't make an ``except OSError`` (or IOError) fail
-to match an exception where it would succeed today.
+compatibility*, we can't make an ``except OSError`` (or IOError) fail to
+match an exception where it would succeed today.
Loose, because we could decide for a partial resolution of step 2
if existing exception classes are not coalesced: for example, EBADF could
More information about the Python-checkins
mailing list