[issue20074] open() of read-write non-seekable streams broken

R. David Murray report at bugs.python.org
Fri Dec 27 17:54:26 CET 2013


R. David Murray added the comment:

Having buffering doesn't make the stream seekable.  So the question is, is the *design* of the IO module that '+' requires a seekable stream the best behavior, or can that constraint be relaxed?  You have to keep in mind that the IO module is a bunch of building blocks, which are plugged together automatically for the most common scenarios.  The goal is a portable, consistent IO system, not one that completely mimics unix/C IO primitives.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20074>
_______________________________________


More information about the Python-bugs-list mailing list