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

r2760:afe1263a
r3299:827b2686
Show More
ipythonx
11 lines | 231 B | text/plain | TextLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""IPythonX -- An enhanced Interactive Python
This script starts the Wx graphical frontend. This is experimental so
far.
"""
from IPython.frontend.wx import ipythonx
ipythonx.main()