[Python-checkins] cpython: whatsnew: read/write on closed SSL socket exception has changed.
r.david.murray
python-checkins at python.org
Mon Feb 3 07:33:55 CET 2014
http://hg.python.org/cpython/rev/33bfe77aca56
changeset: 88919:33bfe77aca56
user: R David Murray <rdmurray at bitdance.com>
date: Mon Feb 03 01:33:39 2014 -0500
summary:
whatsnew: read/write on closed SSL socket exception has changed.
files:
Doc/whatsnew/3.4.rst | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -543,6 +543,7 @@
The number of digits in the coefficients for the RGB --- YIQ conversions have
been expanded so that they match the FCC NTSC versions. The change in
results should be less than 1% and may better match results found elsewhere.
+(Contributed by Brian Landers and Serhiy Storchaka in :issue:`14323`.)
contextlib
@@ -694,7 +695,6 @@
for normal callables. The new descriptor also makes it easier to get
arbitrary callables (including :func:`~functools.partial` instances)
to behave like normal instance methods when included in a class definition.
-
(Contributed by Alon Horev and Nick Coghlan in :issue:`4331`)
.. _whatsnew-singledispatch:
@@ -1665,6 +1665,10 @@
entire :class:`cgi.FieldStorage` instance or read the contents of the file
before the :class:`cgi.FieldStorage` instance is garbage collected.
+* Calling ``read`` or ``write`` on a closed SSL socket now raises an
+ informative :exc:`ValueError` rather than the previous more mysterious
+ :exc:`AttributeError` (:issue:`9177`).
+
Changes in the C API
--------------------
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list