mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
whatsnew: read/write on closed SSL socket exception has changed.
This commit is contained in:
parent
bf0ab8377a
commit
45e732de70
1 changed files with 5 additions and 1 deletions
|
@ -543,6 +543,7 @@ colorsys
|
||||||
The number of digits in the coefficients for the RGB --- YIQ conversions have
|
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
|
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.
|
results should be less than 1% and may better match results found elsewhere.
|
||||||
|
(Contributed by Brian Landers and Serhiy Storchaka in :issue:`14323`.)
|
||||||
|
|
||||||
|
|
||||||
contextlib
|
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
|
for normal callables. The new descriptor also makes it easier to get
|
||||||
arbitrary callables (including :func:`~functools.partial` instances)
|
arbitrary callables (including :func:`~functools.partial` instances)
|
||||||
to behave like normal instance methods when included in a class definition.
|
to behave like normal instance methods when included in a class definition.
|
||||||
|
|
||||||
(Contributed by Alon Horev and Nick Coghlan in :issue:`4331`)
|
(Contributed by Alon Horev and Nick Coghlan in :issue:`4331`)
|
||||||
|
|
||||||
.. _whatsnew-singledispatch:
|
.. _whatsnew-singledispatch:
|
||||||
|
@ -1665,6 +1665,10 @@ Changes in the Python API
|
||||||
entire :class:`cgi.FieldStorage` instance or read the contents of the file
|
entire :class:`cgi.FieldStorage` instance or read the contents of the file
|
||||||
before the :class:`cgi.FieldStorage` instance is garbage collected.
|
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
|
Changes in the C API
|
||||||
--------------------
|
--------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue