This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bquinlan
Recipients bquinlan
Date 2009-04-05.15:35:53
SpamBayes Score 0.0016607028
Marked as misclassified No
Message-id <>
>>> import io
>>> class MyIO(io.FileIO):
...     def flush(self):
...             print('closed:', self.closed)
>>> f = MyIO('test.out', 'wb')
>>> f.close()
closed: True

IMHO, calling flush() after the file has already been closed is
incorrect behaviour. Search for "Possible py3k io wierdness" on
python-dev for discussion.
Date User Action Args
2009-04-05 15:35:58bquinlansetrecipients: + bquinlan
2009-04-05 15:35:58bquinlansetmessageid: <>
2009-04-05 15:35:55bquinlanlinkissue5700 messages
2009-04-05 15:35:55bquinlancreate