Message396548
> bpo-40816 took the much simpler approach of introducing a separate contextlib.AsyncContextDecorator class
How do I apply AsyncContextDecorator to the use case of wrapping either a sync or async function with a synchronous context manager? |
|
Date |
User |
Action |
Args |
2021-06-26 10:41:59 | John Belmonte | set | recipients:
+ John Belmonte, ncoghlan, njs, asvetlov, yselivanov, xtreak, Krzysztof Wróblewski |
2021-06-26 10:41:59 | John Belmonte | set | messageid: <1624704119.68.0.603864860742.issue37398@roundup.psfhosted.org> |
2021-06-26 10:41:59 | John Belmonte | link | issue37398 messages |
2021-06-26 10:41:59 | John Belmonte | create | |
|