I have tested it already:)<br>after fix the space problem(pyreadline1.4.2), ipython works and don't return the <br>exceptions.AttributeError when run foo.py<br>however, there is still the exceptions.IndexError when C:\>C:\Python25\python.exe C:\Python25\scripts\ipython "\Documents and
<br>Settings\cbcoasis\Desktop\test.py"<br><br><div><span class="gmail_quote">On 4/12/07, <b class="gmail_sendername">Fernando Perez</b> <<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 4/11/07, aldarion <<a href="mailto:erendisaldarion@gmail.com">erendisaldarion@gmail.com
</a>> wrote:<br>> It looks the definition line of two function(clear_history of rlmain and<br>> history)<br>> miss a space(it should be four and now is three, and the function body lack<br>> one space too)<br>
> and the function (clear_history) maybe responsible for the '<br>> exceptions.AttributeError',<br><br>Ugh, sorry. I copy/pasted from the mail client and didn't notice it<br>went in missing a space.<br>
<br>1.4.2 is up:<br><br><a href="http://ipython.scipy.org/dist/pyreadline-1.4.2.win32.exe">http://ipython.scipy.org/dist/pyreadline-1.4.2.win32.exe</a><br><a href="http://ipython.scipy.org/dist/pyreadline-1.4.2.dev_r2238-py2.4.egg">
http://ipython.scipy.org/dist/pyreadline-1.4.2.dev_r2238-py2.4.egg</a><br><br>> there is still the IndexError error as Chris Calloway'said, no clue here<br><br>Let me know if those help in any way, and see if you can send me a
<br>fuller traceback on that problem. I'm 100% blind here since I can't<br>run any of this code at all...<br><br>Thanks again for the help and patience!<br><br>Cheers,<br><br>f<br></blockquote></div><br>