Message267338
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. |
|
Date |
User |
Action |
Args |
2016-06-04 22:46:43 | tsutsumi | set | recipients:
+ tsutsumi, brett.cannon, michael.foord |
2016-06-04 22:46:43 | tsutsumi | set | messageid: <1465080403.38.0.135271521452.issue26467@psf.upfronthosting.co.za> |
2016-06-04 22:46:43 | tsutsumi | link | issue26467 messages |
2016-06-04 22:46:43 | tsutsumi | create | |
|