Message302773
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. |
|
Date |
User |
Action |
Args |
2017-09-22 21:08:22 | yselivanov | set | recipients:
+ yselivanov, asvetlov, hellysmile |
2017-09-22 21:08:22 | yselivanov | set | messageid: <1506114502.96.0.620033273909.issue31556@psf.upfronthosting.co.za> |
2017-09-22 21:08:22 | yselivanov | link | issue31556 messages |
2017-09-22 21:08:22 | yselivanov | create | |
|