Message301248
| Author |
gregory.p.smith |
| Recipients |
Mark.Shannon, deleted0524, erik.bray, gregory.p.smith, jdemeyer, ncoghlan, njs, xgdomingo, yselivanov |
| Date |
2017年09月04日.19:35:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1504553719.46.0.0536438121364.issue29988@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Yury's in the room here and pointed out how Nick and I are wrong. :) [yay sprints!]
async def __aexit__(self, *e):
spamity_spam
return Awaitable
If we resolve the GET_AWAITABLE at BEFORE_ASYNC_WITH time, the spamity_spam within __aexit__ is executed before the with block instead of after as happens today. :/
See also https://www.python.org/dev/peps/pep-0492/#asynchronous-context-managers-and-async-with
Nick is actively working on making a test. |
|