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 ronaldoussoren
Recipients ronaldoussoren, sverrirab
Date 2018-08-10.12:05:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533902754.78.0.56676864532.issue34371@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-08-10 12:05:54ronaldoussorensetrecipients: + ronaldoussoren, sverrirab
2018-08-10 12:05:54ronaldoussorensetmessageid: <1533902754.78.0.56676864532.issue34371@psf.upfronthosting.co.za>
2018-08-10 12:05:54ronaldoussorenlinkissue34371 messages
2018-08-10 12:05:54ronaldoussorencreate