Message323367
This is IMHO not a bug in CPython (or even macOS). On Python 2.7 file I/O is implemented using C's stdio library and that prescribes this behaviour (the "at EOF" state of a file stream is sticky.
fd.seek(0, 2) should unset the "at EOF" flag. |
|
Date |
User |
Action |
Args |
2018-08-10 12:05:54 | ronaldoussoren | set | recipients:
+ ronaldoussoren, sverrirab |
2018-08-10 12:05:54 | ronaldoussoren | set | messageid: <1533902754.78.0.56676864532.issue34371@psf.upfronthosting.co.za> |
2018-08-10 12:05:54 | ronaldoussoren | link | issue34371 messages |
2018-08-10 12:05:54 | ronaldoussoren | create | |
|