Message396209
For consistency with the "with" statement (see issue12022) ExitStack.enter_context() should raise TypeError instead of AttributeError if the argument is not a context manager. Same for AsyncExitStack.enter_async_context(). |
|
| Date |
User |
Action |
Args |
| 2021-06-21 07:43:53 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ncoghlan, yselivanov |
| 2021-06-21 07:43:53 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2021-06-21 07:43:53 | serhiy.storchaka | link | issue44471 messages |
| 2021-06-21 07:43:53 | serhiy.storchaka | create | |
|