[Python-checkins] cpython: Add porting note for issue #20951.

antoine.pitrou python-checkins at python.org
Tue Apr 29 10:06:07 CEST 2014


http://hg.python.org/cpython/rev/b0f6983d63df
changeset:   90507:b0f6983d63df
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Tue Apr 29 10:05:59 2014 +0200
summary:
  Add porting note for issue #20951.

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


diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -213,3 +213,7 @@
   if it represented midnight in UTC.  This behavior was considered obscure and
   error-prone and has been removed in Python 3.5.  See :issue:`13936` for full
   details.
+
+* :meth:`ssl.SSLSocket.send()` now raises either :exc:`ssl.SSLWantReadError`
+  or :exc:`ssl.SSLWantWriteError` on a non-blocking socket if the operation
+  would block. Previously, it would return 0.  See :issue:`20951`.

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


More information about the Python-checkins mailing list