Message366193
I cannot reproduce the issue. __exit__() calls close().
>>> import io
>>> class F(io.IOBase):
... def close(self):
... print('close')
... super().close() # set closed = True
...
>>> with F(): pass
...
close |
|
Date |
User |
Action |
Args |
2020-04-11 07:43:49 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, dholth |
2020-04-11 07:43:49 | serhiy.storchaka | set | messageid: <1586591029.85.0.787622983848.issue40235@roundup.psfhosted.org> |
2020-04-11 07:43:49 | serhiy.storchaka | link | issue40235 messages |
2020-04-11 07:43:49 | serhiy.storchaka | create | |
|