[pypy-issue] [issue872] getpass.unix_getpass fails with "IOError: [Errno 29] Illegal seek: '<fdopen>'"

Armin Rigo tracker at bugs.pypy.org
Fri Sep 23 17:28:00 CEST 2011


Armin Rigo <armin.rigo at gmail.com> added the comment:

Read the "man fflush" too fast.  It indeed says that it flushes input buffers
too, but doesn't explain what it does if the underlying file descriptor doesn't
support lseek...  I guess I need to look into the source code of glibc :-/

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue872>
________________________________________


More information about the pypy-issue mailing list