Message346513
PerfTimer is a reusable, non-reentrant context manager implemented as a class.
There are already use cases of ContextDecorator described in the contextlib documentation, such as the track_entry_and_exit logger. What reason would you have for such context managers to *not* wrap async functions properly? |
|
| Date |
User |
Action |
Args |
| 2019-06-25 11:35:22 | John Belmonte | set | recipients:
+ John Belmonte, asvetlov, yselivanov, xtreak |
| 2019-06-25 11:35:22 | John Belmonte | set | messageid: <[email protected]> |
| 2019-06-25 11:35:22 | John Belmonte | link | issue37398 messages |
| 2019-06-25 11:35:22 | John Belmonte | create | |
|