diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-02-03 06:33:39 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-02-03 06:33:39 (GMT) |
commit | 45e732de702c8c5d271af926f00c4b29bbe0e42f (patch) | |
tree | 5ab6f8f705e8faefe65a72682dab4662bc3c3092 /Doc/whatsnew | |
parent | bf0ab8377aae2ff3d1f3356e40ca4f3cda077ed4 (diff) | |
download | cpython-45e732de702c8c5d271af926f00c4b29bbe0e42f.zip cpython-45e732de702c8c5d271af926f00c4b29bbe0e42f.tar.gz cpython-45e732de702c8c5d271af926f00c4b29bbe0e42f.tar.bz2 |
whatsnew: read/write on closed SSL socket exception has changed.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | 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 index 644a1f0..ac3e47a 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -543,6 +543,7 @@ colorsys 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 @@ application to descriptors, just as :func:`~functools.partial` provides 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 @@ Changes in the Python API 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 -------------------- |