This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients asvetlov, hellysmile, yselivanov
Date 2017-09-22.21:08:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506114502.96.0.620033273909.issue31556@psf.upfronthosting.co.za>
In-reply-to
Content
I think this is a backwards incompatible change and thus will be rejected.  Currently there's a guarantee that "wait_for" can throw a TimeoutError *only* when when you await it.

   fut = wait_for(something, 0)

   # some important code

   try:
       await fut
   except TimeoutError:
       # do something

With your PR merged, the above asyncio code would be broken, because asyncio users can guard with try..except only the await expression.
History
Date User Action Args
2017-09-22 21:08:22yselivanovsetrecipients: + yselivanov, asvetlov, hellysmile
2017-09-22 21:08:22yselivanovsetmessageid: <1506114502.96.0.620033273909.issue31556@psf.upfronthosting.co.za>
2017-09-22 21:08:22yselivanovlinkissue31556 messages
2017-09-22 21:08:22yselivanovcreate