http://hg.python.org/cpython/rev/c0c17718301f
changeset: 90081:c0c17718301f
parent: 90079:5ad1d523b342
parent: 90080:de476c612548
user: Andrew Svetlov <andrew.svetlov(a)gmail.com>
date: Tue Apr 01 00:45:06 2014 +0300
summary:
Merge 3.4 (#16716)
files:
Doc/library/exceptions.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -82,7 +82,7 @@
.. attribute:: args
The tuple of arguments given to the exception constructor. Some built-in
- exceptions (like :exc:`IOError`) expect a certain number of arguments and
+ exceptions (like :exc:`OSError`) expect a certain number of arguments and
assign a special meaning to the elements of this tuple, while others are
usually called only with a single string giving an error message.
--
Repository URL: http://hg.python.org/cpython
http://hg.python.org/cpython/rev/de476c612548
changeset: 90080:de476c612548
branch: 3.4
parent: 90078:f507727c5dd2
user: Andrew Svetlov <andrew.svetlov(a)gmail.com>
date: Tue Apr 01 00:44:13 2014 +0300
summary:
IOError -> OSError
files:
Doc/library/exceptions.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -82,7 +82,7 @@
.. attribute:: args
The tuple of arguments given to the exception constructor. Some built-in
- exceptions (like :exc:`IOError`) expect a certain number of arguments and
+ exceptions (like :exc:`OSError`) expect a certain number of arguments and
assign a special meaning to the elements of this tuple, while others are
usually called only with a single string giving an error message.
--
Repository URL: http://hg.python.org/cpython
http://hg.python.org/cpython/rev/5ad1d523b342
changeset: 90079:5ad1d523b342
parent: 90077:fb217fc457ca
parent: 90078:f507727c5dd2
user: Andrew Svetlov <andrew.svetlov(a)gmail.com>
date: Tue Apr 01 00:41:04 2014 +0300
summary:
Merge 3.4 (#16716)
files:
Doc/library/select.rst | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Doc/library/select.rst b/Doc/library/select.rst
--- a/Doc/library/select.rst
+++ b/Doc/library/select.rst
@@ -377,9 +377,13 @@
Modifies an already registered fd. This has the same effect as
``register(fd, eventmask)``. Attempting to modify a file descriptor
- that was never registered causes an :exc:`IOError` exception with errno
+ that was never registered causes an :exc:`OSError` exception with errno
:const:`ENOENT` to be raised.
+ .. deprecated:: 3.3
+
+ Instead of :exc:`IOError` the :exc:`OSError` exception is used now.
+
.. method:: poll.unregister(fd)
--
Repository URL: http://hg.python.org/cpython
http://hg.python.org/cpython/rev/f507727c5dd2
changeset: 90078:f507727c5dd2
branch: 3.4
parent: 90076:c42cce290d50
user: Andrew Svetlov <andrew.svetlov(a)gmail.com>
date: Tue Apr 01 00:23:23 2014 +0300
summary:
Fix the doc: add deprecation warning in select module.
files:
Doc/library/select.rst | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Doc/library/select.rst b/Doc/library/select.rst
--- a/Doc/library/select.rst
+++ b/Doc/library/select.rst
@@ -377,9 +377,13 @@
Modifies an already registered fd. This has the same effect as
``register(fd, eventmask)``. Attempting to modify a file descriptor
- that was never registered causes an :exc:`IOError` exception with errno
+ that was never registered causes an :exc:`OSError` exception with errno
:const:`ENOENT` to be raised.
+ .. deprecated:: 3.3
+
+ Instead of :exc:`IOError` the :exc:`OSError` exception is used now.
+
.. method:: poll.unregister(fd)
--
Repository URL: http://hg.python.org/cpython