##// END OF EJS Templates
Limit special-casing of _ variable to doctests....
Limit special-casing of _ variable to doctests. In doctests, _ *must* be special-cased and removed from the user's namespace because otherwise Python won't set it. But we were doing this special-casing unconditionally, making it impossible to write unittests that checked the _ variable after cell execution. This commit makes the special-casing of _ apply only in the doctest execution (where it's needed) and leaves normal unittests alone.

File last commit:

r3199:7d03350d
r3299:827b2686
Show More
MANIFEST.in
37 lines | 656 B | text/plain | TextLexer
include ipython.py
include setupbase.py
include setupegg.py
graft setupext
graft scripts
graft IPython/kernel
graft IPython/config
graft IPython/core
# graft IPython/deathrow
graft IPython/external
graft IPython/frontend
graft IPython/gui
graft IPython/lib
graft IPython/quarantine
graft IPython/scripts
graft IPython/testing
graft IPython/utils
include IPython/.git_commit_info.ini
graft docs
exclude docs/\#*
exclude docs/man/*.1
# docs subdirs we want to skip
prune docs/attic
prune docs/build
global-exclude *~
global-exclude *.flc
global-exclude *.pyc
global-exclude .dircopy.log
global-exclude .svn
global-exclude .bzr
global-exclude .hgignore