##// END OF EJS Templates
Line continuations now terminate after one blank line (#2108)...
Line continuations now terminate after one blank line (#2108) Previously, we had In [1]: 1\ ...: ...: ...: ...: In other words, no amount of blank lines would terminate after a line continuation, in contrast with regular Python: >>> 1\ ... 1 This made things really annoying when I typed \ instead of a newline--quite easy to do since they are right next to each other on the keyboard. Now, we have In [1]: 1\ ...: Out[1]: 1 This also fixes another related behavioral difference between IPython. If a space follows a line continuation character, it should be a SyntaxError("unexpected character after line continuation character"), even if the line is otherwise continuable, according to regular Python (e.g., `1 \ ` or `(1 + \ `). This now consistent between the two. Closes #2108

File last commit:

r7706:0f7d5959
r7823:9bd0c900
Show More
MANIFEST.in
38 lines | 812 B | text/plain | TextLexer
include README.rst
include ipython.py
include setup2.py
include setup3.py
include setupbase.py
include setupegg.py
graft setupext
graft scripts
# Load main dir but exclude things we don't want in the distro
graft IPython
prune IPython/deathrow
prune IPython/external/js
prune IPython/frontend/html/notebook/static/mathjax
# Include some specific files and data resources we need
include IPython/.git_commit_info.ini
include IPython/frontend/qt/console/resources/icon/IPythonConsole.svg
# Documentation
graft docs
exclude docs/\#*
exclude docs/man/*.1.gz
# docs subdirs we want to skip
prune docs/attic
prune docs/build
prune docs/gh-pages
prune docs/dist
# Patterns to exclude from any directory
global-exclude *~
global-exclude *.flc
global-exclude *.pyc
global-exclude *.pyo
global-exclude .dircopy.log