##// END OF EJS Templates
Backport PR #9955: Catch UnicodeDecodeError from file lying about its encoding...
Backport PR #9955: Catch UnicodeDecodeError from file lying about its encoding Closes gh-9954 I'd like to show a more useful error, but we're several layers away from the code that knows the filename, and I don't want to duplicate a load of code from the traceback module. This prevents it from crashing IPython, at least.

File last commit:

r21337:03608cd1
r22896:c86e43f8
Show More
connect.py
2 lines | 69 B | text/x-python | PythonLexer
from ipykernel.connect import *
from jupyter_client.connect import *