##// 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.
Pascal Bugnion -
r19037:1ea18812
Show More
Name Size Modified Last Commit Author
/ tools
alldeps
tests
backport_pr.py Loading ...
build_release Loading ...
check_sources.py Loading ...
gen_latex_symbols.py Loading ...
gh_api.py Loading ...
git-mpr.py Loading ...
git-mrb Loading ...
github_stats.py Loading ...
make_tarball.py Loading ...
mknbindex.py Loading ...
post_pr_test.py Loading ...
release Loading ...
run_ipy_in_profiler.py Loading ...
test_pr.py Loading ...
testupload Loading ...
toollib.py Loading ...
update_whatsnew.py Loading ...