[docs] [issue21430] Document ssl.pending()

Antoine Pitrou report at bugs.python.org
Sun May 4 23:41:49 CEST 2014


Antoine Pitrou added the comment:

pending() shouldn't be necessary for this. See https://docs.python.org/dev/library/ssl.html#notes-on-non-blocking-sockets

Generally, when using non-blocking sockets, you first try to read (or write) and then catch any exceptions that might be raised if the socket isn't ready.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21430>
_______________________________________


More information about the docs mailing list