Message85890
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 |
|
Date |
User |
Action |
Args |
2009-04-12 10:33:09 | bquinlan | set | recipients:
+ bquinlan |
2009-04-12 10:33:09 | bquinlan | set | messageid: <1239532389.3.0.650746174894.issue5700@psf.upfronthosting.co.za> |
2009-04-12 10:33:08 | bquinlan | link | issue5700 messages |
2009-04-12 10:33:08 | bquinlan | create | |
|