[IPython-dev] [IPython-user] IPython 0.8.2 and PyReadline 1.5, getting ready for release...

Hans Meine hans_meine@gmx....
Sun Nov 25 06:50:05 CST 2007

On Samstag 24 November 2007, Fernando Perez wrote:
> It seems to me that the multi-line history is getting mangled up in
> leopard's libedit, which may behave differently than readline in some
> subtle aspects.  That may be a bug in our part or one in libedit, but
> even if it's the latter, we might be able to work around it somehow.

Just a reminder that there's another problem which I mentioned in 
the "Preparing for 0.8.2 release" thread in September:
In autoindent-mode, one cannot paste sth. like the following:

def x():
	return "Test %d me %d" % (
		23, 42)

(The last line will be truncated at the left.)

Playing around with this, I am now able to provide an extra hint: The culprit 
seems to be the "return" - if you replace that with print, it works properly.
Obviously, the code handles return specially, but mixes up the notions 
of /next input line/ and /next command line/.


Ciao, /  /                                                    .o.
     /--/                                                     ..o
    /  / ANS                                                  ooo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ipython.scipy.org/pipermail/ipython-dev/attachments/20071125/e0bc3b3f/attachment.bin 

More information about the IPython-dev mailing list