Hi all,
after some trials I got IPython to behave correctly under OSX  
(Leopard). However I had to install the readline egg built by Ludwig  
Schwardt. No way to get it working correctly using the built-in libedit.

After digging a little bit into it, I've noticed that when libedit are  
used the ~/.ipython/history file looks like this:

import\040os
for\040i\040in\040[1,2,3]:\012\040\040print\040i

As you can see, all the "special" character (namely spaces and  
newline) are replaced by their _octal_ ascii code. I think this is the  
real culprit of the IPython's misbehaviors under Leopard.

So I tried to find out where in IPython code the history file is  
updated, but unfortunately I was not able to do it. If anyone could  
tell me where that code is, I'd try to investigate this issue further,  
test it thoroughly under OSX and eventually build a patch to fix this  
altogether.

I hope someone can help me, since I'd really like to contribute to the  
project and improve the OSX users experience.

TIA,
  Andrea

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to