##// END OF EJS Templates
Backport PR #6653: Fix IPython.utils.ansispan() to ignore stray [0m...
Backport PR #6653: Fix IPython.utils.ansispan() to ignore stray [0m Previously, `IPython.utils.fixConsole("\033[0m")` (I use `fixConsole()` because `ansispan()` is private) gave `"</span>"`. I also changed `ansiyellow` to something that looks actually yellow (but still dark). I'm submitting this to `master`, but it would be good to backport this to 2.x (whatever the procedure is).

File last commit:

r11009:e16cf2f8
r20381:96f47674
Show More
inprocess.py
40 lines | 1.3 KiB | text/x-python | PythonLexer
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 """ Defines an in-process KernelManager with signals and slots.
"""
# Local imports.
MinRK
update inprocess kernel to new layout...
r10298 from IPython.kernel.inprocess import (
InProcessShellChannel, InProcessIOPubChannel, InProcessStdInChannel,
MinRK
fix in process qt and in process examples
r10333 InProcessHBChannel, InProcessKernelClient, InProcessKernelManager,
MinRK
update inprocess kernel to new layout...
r10298 )
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 from IPython.utils.traitlets import Type
MinRK
fix in process qt and in process examples
r10333 from .kernel_mixins import (
QtShellChannelMixin, QtIOPubChannelMixin,
QtStdInChannelMixin, QtHBChannelMixin, QtKernelClientMixin,
QtKernelManagerMixin,
)
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessShellChannel(QtShellChannelMixin, InProcessShellChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessIOPubChannel(QtIOPubChannelMixin, InProcessIOPubChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessStdInChannel(QtStdInChannelMixin, InProcessStdInChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
Brian Granger
Cleanup naming and organization of channels....
r9120 class QtInProcessHBChannel(QtHBChannelMixin, InProcessHBChannel):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 pass
MinRK
update inprocess kernel to new layout...
r10298 class QtInProcessKernelClient(QtKernelClientMixin, InProcessKernelClient):
epatters
REFACTOR: Terminology change: 'embedded' -> 'in-process'.
r8471 """ An in-process KernelManager with signals and slots.
"""
Brian Granger
Cleanup naming and organization of channels....
r9120 iopub_channel_class = Type(QtInProcessIOPubChannel)
shell_channel_class = Type(QtInProcessShellChannel)
stdin_channel_class = Type(QtInProcessStdInChannel)
hb_channel_class = Type(QtInProcessHBChannel)
MinRK
fix in process qt and in process examples
r10333
class QtInProcessKernelManager(QtKernelManagerMixin, InProcessKernelManager):
client_class = __module__ + '.QtInProcessKernelClient'