summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-24 17:00:28 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-24 17:00:28 (GMT)
commit316b16de13bef1d6e649bc12456bdae34d685d91 (patch)
tree4e53e3667b2c4a230c98abc47d2e44db49f1903a /Doc
parente1d24f7ec3d3d6011c790fdc5088ed5dde81723f (diff)
parent45cff66cf63593695ff5324d3765d8a1a1125adf (diff)
downloadcpython-316b16de13bef1d6e649bc12456bdae34d685d91.zip
cpython-316b16de13bef1d6e649bc12456bdae34d685d91.tar.gz
cpython-316b16de13bef1d6e649bc12456bdae34d685d91.tar.bz2
(Merge 3.4) 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.rst4
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)