py-execute-buffer unusable with ipython

Bug #1448779 reported by Thomas Caswell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
High
Andreas Roehler

Bug Description

Running `py-execute-buffer` with ipython as the shell does not work due to the the slight delay in the ipython process.

Adding extra newlines to the comint related calls seems to fix the problem, at the expense of extra blank output lines.

Revision history for this message
Thomas Caswell (tcaswell-gmail) wrote :
Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
Revision history for this message
Andreas Roehler (a-roehler) wrote :

May you send some example-code which fails currently but would succeed after the fix?

Thanks

Changed in python-mode:
status: New → Incomplete
Revision history for this message
Andreas Roehler (a-roehler) wrote :

BTW py-send-string provides for that case - just takes the arguments in reverse order.
Please try replacing comint-send-string at the points indicated by your patch.

Thanks

Changed in python-mode:
status: Incomplete → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.