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

Armin Rigo tracker at bugs.pypy.org
Mon Jun 4 15:17:59 CEST 2012

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

Fix attempt in 865681d756a9.  The idea is that if lseek() fails in any flush*()
method, then we ignore it and don't do anything.  Wrote a test in test_posix2.py
that passes on CPython but used to fail on PyPy.

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list