From 30dced876a3556354bef9a4914d97851947b4623 2017-05-09 14:50:37 From: Thomas Kluyver Date: 2017-05-09 14:50:37 Subject: [PATCH] Merge pull request #10515 from Carreau/std-tb Standardize traceback. --- diff --git a/IPython/core/ultratb.py b/IPython/core/ultratb.py index 4352a61..0004e7d 100644 --- a/IPython/core/ultratb.py +++ b/IPython/core/ultratb.py @@ -870,7 +870,7 @@ class VerboseTB(TBTools): pass file = py3compat.cast_unicode(file, util_path.fs_encoding) - link = tpl_link % file + link = tpl_link % util_path.compress_user(file) args, varargs, varkw, locals = inspect.getargvalues(frame) if func == '?':