[pypy-dev] Interactive fails on pypy

Paolo Basso pa.basso at gmail.com
Fri Jun 10 18:00:07 CEST 2011

Ok, I solved the problem, the patch works great (thanks Thomas) but the
problem was a conflict with the python 2.6 library from which the
readline.py module was loaded. Is it normal that it happens or it a problem
of my configuration?

I solved by using the sys.path.insert(0, "path of the pypy_lib in my drive")
but I wonder if there is a better way so that I don't need to add that line
every time.



2011/6/10 Paolo Basso <pa.basso at gmail.com>

> Thanks for your help, I tryed to add the patch but still have the same
> problem...
> Attached are the msvcrt module as I modified it and the code I tryed to
> run.
> P
>  2011/6/8 Amaury Forgeot d'Arc <amauryfa at gmail.com>
>> Hi,
>> 2011/6/8 Paolo Basso <pa.basso at gmail.com>:
>> > if msvcrt.kbhit():
>> > AttributeError: 'module' object has no attribute 'kbhit'
>> The msvcrt module is implemented in pure Python (in pypy_lib/msvcrt.py)
>> This function seems easy to add.
>> Patches are welcome!
>> --
>> Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20110610/141dbeda/attachment.html>

More information about the pypy-dev mailing list