Author qmega
Recipients docs@python, qmega
Date 2014-04-28.18:05:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398708357.06.0.922465155945.issue21376@psf.upfronthosting.co.za>
In-reply-to
Content
Example: https://docs.python.org/3.4/library/asyncio-task.html
TimeoutError is mentioned several times, and links to the OSError subclass. However, the actual TimeoutError raised by asyncio stuff is the one from concurrent.futures, which is not compatible. The docs as they are seem to suggest that something like "except TimeoutError" would be appropriate, when in fact that would not produce the expected behavior; "except asyncio.TimeoutError" is what you'd want.
History
Date User Action Args
2014-04-28 18:05:57qmegasetrecipients: + qmega, docs@python
2014-04-28 18:05:57qmegasetmessageid: <1398708357.06.0.922465155945.issue21376@psf.upfronthosting.co.za>
2014-04-28 18:05:57qmegalinkissue21376 messages
2014-04-28 18:05:56qmegacreate