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 Tadhg McDonald-Jensen, r.david.murray, yselivanov
Date 2017-03-27.19:56:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490644590.95.0.212722987734.issue29922@psf.upfronthosting.co.za>
In-reply-to
Content
> Would it maybe make sense to implement this as adding an argument to GET_AWAITABLE to indicate whether it was called from await, __anext__, __aenter__ or __aexit__?

Yes, but it will make it a tad slower (which will also affect await performance).  I'll run some benchmarks.
History
Date User Action Args
2017-03-27 19:56:30yselivanovsetrecipients: + yselivanov, r.david.murray, Tadhg McDonald-Jensen
2017-03-27 19:56:30yselivanovsetmessageid: <1490644590.95.0.212722987734.issue29922@psf.upfronthosting.co.za>
2017-03-27 19:56:30yselivanovlinkissue29922 messages
2017-03-27 19:56:30yselivanovcreate