Message217390
| 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:57 | qmega | set | recipients:
+ qmega, docs@python |
| 2014年04月28日 18:05:57 | qmega | set | messageid: <1398708357.06.0.922465155945.issue21376@psf.upfronthosting.co.za> |
| 2014年04月28日 18:05:57 | qmega | link | issue21376 messages |
| 2014年04月28日 18:05:56 | qmega | create |
|