Code review comment for lp:~shimizukawa/pyreadline/python3

Revision history for this message
B. Striegel (b-striegel) wrote :

With Python 3.2.1 on Windows XP, successfully used this branch to enable readline for both the built-in Python interactive shell and for IPython3. This is exactly what I was looking for. :)

One weird thing that may or may not be related to pyreadline: while the built-in Python interactive shell exhibits no issues, using IPython3 with this library causes the "In [x]" prompt to double up after each command, and then a print a third time as soon as you begin typing a new command. Example:

-------

In [1]:
In [1]:
In [1]: a = [1,2,3]

In [2]:
In [2]:
In [2]: a
Out[2]: [1, 2, 3]

In [3]:
In [3]:
In [3]: print('hello')
hello

In [4]:
In [4]:

-------

I realize that IPython itself only barely supports Py3k (and even required a few manual hacks to get it to run at all on XP), but it did not exhibit this behavior before installing pyreadline. I also haven't had this problem using IPython3 on CentOS with the usual readline library.

review: Approve

« Back to merge proposal