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

Kostya Rybnikov tracker at bugs.pypy.org
Sat Sep 17 13:35:07 CEST 2011

New submission from Kostya Rybnikov <k.bx at ya.ru>:

kost at kost-laptop:~/bin$ ./pypy-c-jit-47308-1d95dfe42b4f-linux64/bin/pypy 
Python 2.7.1 (1d95dfe42b4f, Sep 17 2011, 02:02:04)
[PyPy 1.6.0-dev1 with GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``peephope optimizations are what a
Sufficiently Smart Compiler uses''
>>>> import getpass
>>>> getpass.unix_getpass()
Password: Traceback (most recent call last):
  File "<console>", line 1, in <module>
"/home/kost/bin/pypy-c-jit-47308-1d95dfe42b4f-linux64/lib-python/2.7/getpass.py", line
74, in unix_getpass
    stream.flush()  # issue7208
IOError: [Errno 29] Illegal seek: '<fdopen>'

messages: 3143
nosy: k_bx, pypy-issue
priority: bug
status: unread
title: getpass.unix_getpass fails with "IOError: [Errno 29] Illegal seek: '<fdopen>'"

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

More information about the pypy-issue mailing list