##// 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:

r2267:928c921b
r3299:827b2686
Show More
ipy_profile_none.py
3 lines | 132 B | text/x-python | PythonLexer
vivainio
crlf cleanup
r680 """ Config file for 'default' profile """
# get various stuff that are there for historical / familiarity reasons
vivainio
moved many magics to ipy_legacy.py, moved profiles to Extension from UserConfig, added ipy_profile_none.py for default profile
r678 import ipy_legacy