From 1b7fd062895ac6f33a95b58388a1c01f17384948 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 30 Jul 2010 23:43:45 +0000 Subject: [PATCH] Mention VMSError --- pep-3151.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pep-3151.txt b/pep-3151.txt index 64ce7e5c9..04fd20b5b 100644 --- a/pep-3151.txt +++ b/pep-3151.txt @@ -48,6 +48,7 @@ of classes, arranged in the following sub-hierarchies:: +-- io.UnsupportedOperation (also inherits from ValueError) +-- socket.error +-- OSError + +-- VMSError +-- WindowsError +-- mmap.error +-- select.error @@ -206,7 +207,7 @@ The following changes are proposed: * alias both socket.error and select.error to IOError * alias mmap.error to OSError -* alias WindowsError to OSError +* alias both WindowsError and VMSError to OSError * alias OSError to IOError * coalesce EnvironmentError into IOError @@ -543,6 +544,14 @@ Common errnos with select.error Appendix B: Survey of raised OS and IO errors ============================================= +About VMSError +-------------- + +VMSError is completely unused by the interpreter core and the standard +library. It was added as part of the OpenVMS patches submitted in 2002 +by Jean-François Piéronne [4]_; the motivation for including VMSError was that +it could be raised by third-party packages. + Interpreter core ---------------- @@ -797,6 +806,8 @@ References ``EnvironmentError``: `around 3000 results `_ +.. [4] http://bugs.python.org/issue614055 + Copyright =========