##// END OF EJS Templates
Merge pull request #1059 from fperez/__IPYTHON__...
Merge pull request #1059 from fperez/__IPYTHON__ Switch to simple `__IPYTHON__` global to indicate an IPython Shell object has been created. Note that this does *not* try to track whether user code is being executed by ipython via %run, nor whether the Shell object itself is running an interactive event loop or not. So the answer for how people should query whether IPython objects are active is now simply ``` try: __IPYTHON__ except NameError: print 'not in IPython' ``` We do not attempt to track activity levels anymore, as we realized that logic was ultimately to brittle and error prone to be of any real use.
Fernando Perez -
r5572:487b6b96 merge
Show More
Name Size Modified Last Commit Author
/ IPython / core / tests
__init__.py Loading ...
refbug.py Loading ...
simpleerr.py Loading ...
tclass.py Loading ...
test_application.py Loading ...
test_autocall.py Loading ...
test_compilerop.py Loading ...
test_completer.py Loading ...
test_fakemodule.py Loading ...
test_formatters.py Loading ...
test_handlers.py Loading ...
test_history.py Loading ...
test_imports.py Loading ...
test_inputsplitter.py Loading ...
test_interactiveshell.py Loading ...
test_iplib.py Loading ...
test_logger.py Loading ...
test_magic.py Loading ...
test_magic_arguments.py Loading ...
test_magic_terminal.py Loading ...
test_oinspect.py Loading ...
test_page.py Loading ...
test_plugin.py Loading ...
test_prefilter.py Loading ...
test_profile.py Loading ...
test_pylabtools.py Loading ...
test_run.py Loading ...
test_splitinput.py Loading ...