Ronald Oussoren <ronaldousso...@mac.com> added the comment:

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.

----------
nosy: +ronaldoussoren
resolution:  -> not a bug
status: open -> pending

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34371>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to