[Python-checkins] cpython: Add versionchanged tag to faq (useless btw because changed text is commented

andrew.svetlov python-checkins at python.org
Wed Dec 19 12:45:39 CET 2012


http://hg.python.org/cpython/rev/e5958a4e52ef
changeset:   80943:e5958a4e52ef
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Wed Dec 19 13:45:30 2012 +0200
summary:
  Add versionchanged tag to faq (useless btw because changed text is commented out)

files:
  Doc/faq/library.rst |  4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Doc/faq/library.rst b/Doc/faq/library.rst
--- a/Doc/faq/library.rst
+++ b/Doc/faq/library.rst
@@ -224,6 +224,10 @@
    and modify them for non-blocking mode.  Since reading stdin when it is empty
    results in an :exc:`OSError`, this error is caught and ignored.
 
+   .. versionchanged:: 3.3
+      *sys.stdin.read* used to raise :exc:`IOError`. Starting from Python 3.3
+      :exc:`IOError` is alias for :exc:`OSError`.
+
 
 Threads
 =======

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list