##// 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
/ IPython / core
magics
tests
__init__.py Loading ...
alias.py Loading ...
application.py Loading ...
autocall.py Loading ...
builtin_trap.py Loading ...
compilerop.py Loading ...
completer.py Loading ...
completerlib.py Loading ...
crashhandler.py Loading ...
debugger.py Loading ...
display.py Loading ...
display_trap.py Loading ...
displayhook.py Loading ...
displaypub.py Loading ...
error.py Loading ...
events.py Loading ...
excolors.py Loading ...
extensions.py Loading ...
formatters.py Loading ...
getipython.py Loading ...
history.py Loading ...
historyapp.py Loading ...
hooks.py Loading ...
inputsplitter.py Loading ...
inputtransformer.py Loading ...
interactiveshell.py Loading ...
latex_symbols.py Loading ...
logger.py Loading ...
macro.py Loading ...
magic.py Loading ...
magic_arguments.py Loading ...
oinspect.py Loading ...
page.py Loading ...
payload.py Loading ...
payloadpage.py Loading ...
prefilter.py Loading ...
profileapp.py Loading ...
profiledir.py Loading ...
prompts.py Loading ...
pylabtools.py Loading ...
release.py Loading ...
shadowns.py Loading ...
shellapp.py Loading ...
splitinput.py Loading ...
ultratb.py Loading ...
usage.py Loading ...