Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Copy/Paste Regression in QtConsole #3206

Closed
dhirschfeld opened this Issue · 1 comment

2 participants

@dhirschfeld

As discussed on list:

http://article.gmane.org/gmane.comp.python.ipython.devel/10253

Copy/Paste no longer seems to be correctly stripping continuation prompts.

@takluyver takluyver was assigned
@takluyver
Owner

PR #3323 should fix this.

@takluyver takluyver closed this issue from a commit
@takluyver takluyver Strip prompts even if the prompt isn't present on the first line.
Users (including me) often copy and paste examples from just after the first
prompt. This checks for prompts in the first two lines of a block, but if they
aren't found there, it will ignore prompt-like prefixes in later lines, to
minimise interference with multi-line strings etc.

Closes gh-3206
e3df40c
@takluyver takluyver closed this in e3df40c
@Zsailer Zsailer referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@mattvonrocketstein mattvonrocketstein referenced this issue from a commit in mattvonrocketstein/ipython
@takluyver takluyver Strip prompts even if the prompt isn't present on the first line.
Users (including me) often copy and paste examples from just after the first
prompt. This checks for prompts in the first two lines of a block, but if they
aren't found there, it will ignore prompt-like prefixes in later lines, to
minimise interference with multi-line strings etc.

Closes gh-3206
2ebcb7c
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.