Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 92c4d45

Browse files
committed
Add porting note for issue #20951.
1 parent b4bebda commit 92c4d45

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/whatsnew/3.5.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,7 @@ that may require changes to your code.
213213
if it represented midnight in UTC. This behavior was considered obscure and
214214
error-prone and has been removed in Python 3.5. See :issue:`13936` for full
215215
details.
216+
217+
* :meth:`ssl.SSLSocket.send()` now raises either :exc:`ssl.SSLWantReadError`
218+
or :exc:`ssl.SSLWantWriteError` on a non-blocking socket if the operation
219+
would block. Previously, it would return 0. See :issue:`20951`.

0 commit comments

Comments
 (0)