##// 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 / frontend / qt / console
resources
tests
__init__.py Loading ...
ansi_code_processor.py Loading ...
bracket_matcher.py Loading ...
call_tip_widget.py Loading ...
completion_lexer.py Loading ...
completion_widget.py Loading ...
console_widget.py Loading ...
frontend_widget.py Loading ...
history_console_widget.py Loading ...
ipython_widget.py Loading ...
kill_ring.py Loading ...
mainwindow.py Loading ...
pygments_highlighter.py Loading ...
qtconsoleapp.py Loading ...
rich_ipython_widget.py Loading ...
styles.py Loading ...