IPython - Enhanced Interactive Python

%cpaste drops characters in very long paste operations

Reported by Fernando Perez on 2009-08-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Invalid
Medium
Fernando Perez

Bug Description

As reported here by John Hunter:

http://mail.scipy.org/pipermail/ipython-dev/2009-August/005417.html

I can confirm this problem as well. Interestingly, I only see it if I try to paste the whole file in one shot. If I break up the operation in even just two parts, it works fine. It's as if the input buffer got too full and started dropping characters. But John reported it in OSX and I see it in linux, so I don't know if it's really a terminal issue, or a bug in our own code.

As a workaround, one can either:

- break a very large %cpaste into a few smaller ones.
- use the new %paste, if the situation doesn't require manual editing of the paste buffer or assembly from multiple sources.

Fernando Perez (fdo.perez) wrote :

Actually this turned out to be a terminal emulator bug, as discussed on the list. Unfortunately it's present in both OSX and linux, so it's frustrating, but there's nothing ipython can do if the terminal drops text.

Closing as invalid.

Changed in ipython:
assignee: nobody → Fernando Perez (fdo.perez)
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers