[issue45568] @asynccontextmanager is missing in decorator usage example

2021-11-25 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45568] @asynccontextmanager is missing in decorator usage example

2021-11-25 Thread Andrew Svetlov
Change by Andrew Svetlov : -- versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45568] @asynccontextmanager is missing in decorator usage example

2021-11-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 52d10f6485a168141e7a50d68f9a9566fdd8379d by Andrew Svetlov in branch '3.10': [3.10] bpo-45568: Actually use @asynccontextmanager in usage example (GH-29151) (GH-29779)

[issue45568] @asynccontextmanager is missing in decorator usage example

2021-11-25 Thread Andrew Svetlov
Change by Andrew Svetlov : -- nosy: +asvetlov nosy_count: 3.0 -> 4.0 pull_requests: +28016 pull_request: https://github.com/python/cpython/pull/29779 ___ Python tracker ___

[issue45568] @asynccontextmanager is missing in decorator usage example

2021-11-25 Thread miss-islington
miss-islington added the comment: New changeset 4dd82194f4a0e48a94191655e571b3aad1c4a22a by Zbigniew Siciarz in branch 'main': bpo-45568: Actually use @asynccontextmanager in usage example (GH-29151) https://github.com/python/cpython/commit/4dd82194f4a0e48a94191655e571b3aad1c4a22a

[issue45568] @asynccontextmanager is missing in decorator usage example

2021-10-22 Thread Zbigniew Siciarz
Change by Zbigniew Siciarz : -- keywords: +patch pull_requests: +27428 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29151 ___ Python tracker

[issue45568] @asynccontextmanager is missing in decorator usage example

2021-10-22 Thread Zbigniew Siciarz
New submission from Zbigniew Siciarz : The docs of contextlib.asynccontextmanager provide an example how to use it as a decorator (https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager). However, the example snippet of code doesn't decorate the timeit() function