Message372873
And what happen when you accidentally use synchronous "with" instead of "async with" with closing()?
with closing(SomeAPI()) as api:
...
I think it is intentionally that different functions/methods/classes are used for synchronous and asynchronous operations. |
|
Date |
User |
Action |
Args |
2020-07-02 19:03:01 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, yselivanov, uburuntu |
2020-07-02 19:03:00 | serhiy.storchaka | set | messageid: <1593716580.99.0.92861608258.issue41197@roundup.psfhosted.org> |
2020-07-02 19:03:00 | serhiy.storchaka | link | issue41197 messages |
2020-07-02 19:03:00 | serhiy.storchaka | create | |
|