Skip to content
This repository

Have %cpaste accept also Ctrl-D as a termination marker #56

Closed
ipython opened this Issue May 10, 2010 · 2 comments

2 participants

IPython: interactive computing in Python Fernando Perez
IPython: interactive computing in Python
Owner
ipython commented May 10, 2010

Original Launchpad bug 510686: https://bugs.launchpad.net/ipython/+bug/510686
Reported by: adeodato (Adeodato Simó).

Hello,

I think it would be an usability improvement if %cpaste would also accept Ctrl-D as a termination marker. It is standard speak for "end of stream", and quicker to type when you're pasting with your right hand using the mouse. It should be easily detectable by catching EOFError, I think.

Thanks for considering!

IPython: interactive computing in Python
Owner
ipython commented May 10, 2010

[ LP comment 1 by: Fernando Perez, on 2010-01-21 21:29:22.695824+00:00 ]

100% agreed, this had been in the back of my mind to do for a while.

Thanks a lot for filing the ticket, it's easy to do and I'll take care of it, it annoys me quite a bit too :)

Fernando Perez
Owner

dormant for now, as it's not in the critical path. Pull requests always welcome, and we'll work on it at some point :)

Daniel Velkov djv referenced this issue from a commit in djv/ipython October 12, 2011
fixing issue #56 609d83e
Fernando Perez fperez closed this in db84fc9 October 13, 2011
Brian E. Granger ellisonbg referenced this issue from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
Fernando Perez fperez referenced this issue from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
Damián Avila damianavila referenced this issue from a commit July 30, 2013
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.