##// END OF EJS Templates
Fixed whitespace bug when pasting IPython continuation prompt....
Fixed whitespace bug when pasting IPython continuation prompt. Fixes a SyntaxError that arose when pasting code containing the IPython continuation prompt without a trailing white space, such as: In[1]: if True: ...: print "No space after ':' on next line." ...: This might arise if the user only copies up to the end of the last prompt, without copying the trailing whitespace. This commit adds a regression test and fixes the regular expression that strips continuation prompts, making the whitespace optional.

File last commit:

r18729:7226dc51
r19037:1ea18812
Show More
.gitignore
22 lines | 316 B | text/plain | TextLexer
MANIFEST
build
dist
_build
docs/man/*.gz
docs/source/api/generated
docs/source/config/options
docs/source/interactive/magics-generated.txt
docs/gh-pages
IPython/html/notebook/static/mathjax
IPython/html/static/style/*.map
*.py[co]
__pycache__
*.egg-info
*~
*.bak
.ipynb_checkpoints
.tox
.DS_Store
\#*#
.#*
.coverage