##// END OF EJS Templates
Don't emit a trailng newline in base64-encoded data like 'image/png' (#13941)...
Don't emit a trailng newline in base64-encoded data like 'image/png' (#13941) This addresses the issue highlighted in https://github.com/jupyter/jupyter_client/issues/930 Since, unlike the latest Jupyter, IPython aims to support python<3.6, I'm using an approach that won't break this compatibility.

File last commit:

r24241:86b88904
r28117:b545bcb6 merge
Show More
consoleapp.py
12 lines | 415 B | text/x-python | PythonLexer
"""
Shim to maintain backwards compatibility with old IPython.consoleapp imports.
"""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
from warnings import warn
warn("The `IPython.consoleapp` package has been deprecated since IPython 4.0."
"You should import from jupyter_client.consoleapp instead.", stacklevel=2)
from jupyter_client.consoleapp import *