Author scoder
Recipients abarry, scoder, serhiy.storchaka
Date 2019-04-27.17:32:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556386370.43.0.0163864162061.issue25707@roundup.psfhosted.org>
In-reply-to
Content
I don't think there is a need for a close() method. Instead, the iterator should close the file first thing when it's done with it, but only if it owns it. Therefore, the fix in issue 25688 seems correct.

Closing can also be done explicitly in a finaliser of the iterator, if implicit closing via decref is too lax.
History
Date User Action Args
2019-04-27 17:32:50scodersetrecipients: + scoder, serhiy.storchaka, abarry
2019-04-27 17:32:50scodersetmessageid: <1556386370.43.0.0163864162061.issue25707@roundup.psfhosted.org>
2019-04-27 17:32:50scoderlinkissue25707 messages
2019-04-27 17:32:50scodercreate