Author serhiy.storchaka
Recipients dholth, serhiy.storchaka, terry.reedy
Date 2020-04-11.07:43:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586591029.85.0.787622983848.issue40235@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-04-11 07:43:49serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, dholth
2020-04-11 07:43:49serhiy.storchakasetmessageid: <1586591029.85.0.787622983848.issue40235@roundup.psfhosted.org>
2020-04-11 07:43:49serhiy.storchakalinkissue40235 messages
2020-04-11 07:43:49serhiy.storchakacreate