Message228234
There is complete implementation of FileIO in pure Python in issue21859. It is free from this bug.
>>> import _pyio as io
>>> class MyIO(io.FileIO):
... def flush(self):
... print('closed:', self.closed)
...
>>> f = MyIO('test.out', 'wb')
>>> f.close()
closed: False |
|
| Date |
User |
Action |
Args |
| 2014-10-02 16:00:50 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, bquinlan, pitrou |
| 2014-10-02 16:00:50 | serhiy.storchaka | set | messageid: <1412265650.84.0.572603137857.issue5700@psf.upfronthosting.co.za> |
| 2014-10-02 16:00:50 | serhiy.storchaka | link | issue5700 messages |
| 2014-10-02 16:00:50 | serhiy.storchaka | create | |
|