##// END OF EJS Templates
Changing how IPython.utils.io.Term is handled....
Changing how IPython.utils.io.Term is handled. We used to create a module level IOTerm instance called IPython.utils.io.Term when IPython.utils.io was imported. We now delay this until InteractiveShell.init_io is called. This gives us a chance to override sys.stdout/sys.stderr first. All code that uses IPython.utils.io.Term must refer to by its full name: "IPython.utils.io.Term" and not hold references to it.

File last commit:

r2726:7ecaeab5 merge
r2775:c291d5fa
Show More
util.py
22 lines | 638 B | text/x-python | PythonLexer
epatters
* Added 'started_listening' and 'stopped_listening' signals to QtKernelManager. The FrontendWidget listens for these signals....
r2643 """ Defines miscellaneous Qt-related helper classes and functions.
"""
# System library imports.
from PyQt4 import QtCore
# IPython imports.
from IPython.utils.traitlets import HasTraits
MetaHasTraits = type(HasTraits)
MetaQObject = type(QtCore.QObject)
Brian Granger
Merge branch 'epatters-qtfrontend' into kernelmanager...
r2726 # You can switch the order of the parents here and it doesn't seem to matter.
epatters
* Added 'started_listening' and 'stopped_listening' signals to QtKernelManager. The FrontendWidget listens for these signals....
r2643 class MetaQObjectHasTraits(MetaQObject, MetaHasTraits):
""" A metaclass that inherits from the metaclasses of both HasTraits and
QObject.
Using this metaclass allows a class to inherit from both HasTraits and
QObject. See QtKernelManager for an example.
"""
epatters
* Added 'req_port' option to 'launch_kernel' and the kernel entry point....
r2702 pass