##// END OF EJS Templates
Backport PR #6878: Update pygments monkeypatch for compatibility with Pygments 2.0...
Backport PR #6878: Update pygments monkeypatch for compatibility with Pygments 2.0 Closes gh-6877 I spent a while looking for a better way to achive this, to get rid of the monkeypatch, but none occurred to me, so I went with Carlos' suggestion of just updating it.

File last commit:

r10582:07f00631
r20382:79516ce7
Show More
kernel.py
12 lines | 253 B | text/x-python | PythonLexer
MinRK
move IPython.lib.kernel to IPython.utils.kernel...
r9351 """[DEPRECATED] Utilities for connecting to kernels
MinRK
add IPython.lib.kernel...
r4970
MinRK
split kernel.util into kernel.connect and kernel.launcher
r9355 Moved to IPython.kernel.connect
MinRK
add IPython.lib.kernel...
r4970 """
MinRK
move IPython.lib.kernel to IPython.utils.kernel...
r9351 import warnings
MinRK
remove reference to nonexistent 0.14 in deprecation warning
r10582 warnings.warn("IPython.lib.kernel moved to IPython.kernel.connect in IPython 1.0",
MinRK
move IPython.lib.kernel to IPython.utils.kernel...
r9351 DeprecationWarning
)
MinRK
add IPython.lib.kernel...
r4970
MinRK
split kernel.util into kernel.connect and kernel.launcher
r9355 from IPython.kernel.connect import *
MinRK
Split swallow_argv into standalone function in lib.kernel...
r5620