homepage

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 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.
History
Date User Action Args
2017年09月04日 19:35:19gregory.p.smithsetrecipients: + gregory.p.smith, ncoghlan, njs, Mark.Shannon, erik.bray, jdemeyer, yselivanov, deleted0524, xgdomingo
2017年09月04日 19:35:19gregory.p.smithsetmessageid: <1504553719.46.0.0536438121364.issue29988@psf.upfronthosting.co.za>
2017年09月04日 19:35:19gregory.p.smithlinkissue29988 messages
2017年09月04日 19:35:19gregory.p.smithcreate

AltStyle によって変換されたページ (->オリジナル) /