Message365728
I think that the current code is not correct. __exit__ should not be called if __enter__ is failed. If some __enter__ implementation calls other __enter__s it should manually call corresponding __exit__s. |
|
Date |
User |
Action |
Args |
2020-04-03 21:50:50 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ncoghlan, michael.foord, bmclarnon |
2020-04-03 21:50:50 | serhiy.storchaka | set | messageid: <1585950650.33.0.759872578858.issue40126@roundup.psfhosted.org> |
2020-04-03 21:50:50 | serhiy.storchaka | link | issue40126 messages |
2020-04-03 21:50:50 | serhiy.storchaka | create | |
|