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-12.10:33:07
SpamBayes Score 8.1768005e-05
Marked as misclassified No
Message-id <1239532389.3.0.650746174894.issue5700@psf.upfronthosting.co.za>
In-reply-to
Content
cooperation.diff:
- change the close method to call .flush() and then ._close()
- only IOBase implements close() (though a subclass can override close
  without causing problems - so long as it calls super().close())
- .flush() invokes super().flush()
- ._close() invokes super()._close()
- FileIO is implemented in Python in _pyio.py so that it can have the
  same base class as the other Python-implemented files classes
- tests verify that .flush() is not called after the file is closed
- tests verify that ._close()/.flush() calls move correctly are 
  propagated correctly
History
Date User Action Args
2009-04-12 10:33:09bquinlansetrecipients: + bquinlan
2009-04-12 10:33:09bquinlansetmessageid: <1239532389.3.0.650746174894.issue5700@psf.upfronthosting.co.za>
2009-04-12 10:33:08bquinlanlinkissue5700 messages
2009-04-12 10:33:08bquinlancreate