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 tsutsumi
Recipients brett.cannon, michael.foord, tsutsumi
Date 2016-06-04.22:46:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465080403.38.0.135271521452.issue26467@psf.upfronthosting.co.za>
In-reply-to
Content
I'm interested in taking this on. I'm considering for this approach, creating a new MagicProxy class specifically for async, and assigning __aexit__ and __aenter__ to those.

The __call__ method itself has to be detected as asynchronous, and I don't believe it's possible for a __call__ to behave appropriately for both asynchronous and synchronous cases.
History
Date User Action Args
2016-06-04 22:46:43tsutsumisetrecipients: + tsutsumi, brett.cannon, michael.foord
2016-06-04 22:46:43tsutsumisetmessageid: <1465080403.38.0.135271521452.issue26467@psf.upfronthosting.co.za>
2016-06-04 22:46:43tsutsumilinkissue26467 messages
2016-06-04 22:46:43tsutsumicreate