[IPython-dev] IPython cvs crash when pasting text

Fernando Perez Fernando.Perez at colorado.edu
Wed Jun 16 17:12:48 CDT 2004


Thorsten Kampe wrote:
> The latest cvs build crashes each time when I try to paste multiline
> text under platform Cygwin. From the crash report: "AttributeError:
> Prompt2 instance has no attribute 'col_num'".

 From the notice about the CVS code in my recent email:

*** WARNING --- BACKWARDS INCOMPATIBLE CHANGE***
If you update, you'll need to fix ALL your ipythonrc files to use, in your
prompt_in2 strings, '\D' instead of '%n'.  Otherwise your prompts won't print
properly.  Sorry about this, but trivial as it sounds, it is nearly impossible
for me to keep compatibility with the old syntax while implementing the new,
much more flexible prompt system.

**************

Sorry, but I really can't avoid making this change, incompatible as it is.

But I _did_ just commit to CVS a hack which at least will make it not crash. 
The prompt display for the continuations will be wrong, but it won't crash 
anymore.

Cheers,

f




More information about the IPython-dev mailing list