[issue37398] contextlib.ContextDecorator decorating async functions

Nick Coghlan report at bugs.python.org
Sat Jun 26 03:58:38 EDT 2021


Nick Coghlan <ncoghlan at gmail.com> added the comment:

bpo-40816 took the much simpler approach of introducing a separate contextlib.AsyncContextDecorator class.

----------
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Add missed AsyncContextDecorator to contextlib
versions: +Python 3.10 -Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37398>
_______________________________________


More information about the Python-bugs-list mailing list