diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-24 16:49:36 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-24 16:49:36 (GMT) |
commit | 45cff66cf63593695ff5324d3765d8a1a1125adf (patch) | |
tree | 57bd2130c942c9735e0803de92defbccff384794 /Doc | |
parent | 992019c0061d62ccb5e0715675ddf3aa2d1b6478 (diff) | |
download | cpython-45cff66cf63593695ff5324d3765d8a1a1125adf.zip cpython-45cff66cf63593695ff5324d3765d8a1a1125adf.tar.gz cpython-45cff66cf63593695ff5324d3765d8a1a1125adf.tar.bz2 |
Issue #16133: The asynchat.async_chat.handle_read() method now ignores
BlockingIOError exceptions. Initial patch written by Xavier de Gaye.
Document also in asyncore documentation that recv() may raise BlockingIOError.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/asyncore.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/asyncore.rst b/Doc/library/asyncore.rst index 0adf8d9..917d044 100644 --- a/Doc/library/asyncore.rst +++ b/Doc/library/asyncore.rst @@ -216,6 +216,10 @@ any that have been added to the map during asynchronous service) is closed. empty bytes object implies that the channel has been closed from the other end. + Note that :meth:`recv` may raise :exc:`BlockingIOError` , even though + :func:`select.select` or :func:`select.poll` has reported the socket + ready for reading. + .. method:: listen(backlog) |