]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add porting note for issue #20951.
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 29 Apr 2014 08:05:59 +0000 (10:05 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 29 Apr 2014 08:05:59 +0000 (10:05 +0200)
Doc/whatsnew/3.5.rst

index b9ad68411b4e9773d2cb2cf1b349f889fee3ec09..02ff8336675b90f9881d05c6f3d3dde89d5899b4 100644 (file)
@@ -213,3 +213,7 @@ that may require changes to your code.
   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`.