From 8c11e5cad095141cd778d2e71796741c3d01fa59 2012-06-21 05:15:03 From: MinRK Date: 2012-06-21 05:15:03 Subject: [PATCH] add encoding to sys_info --- diff --git a/IPython/utils/sysinfo.py b/IPython/utils/sysinfo.py index 0cabd74..d31c1c2 100644 --- a/IPython/utils/sysinfo.py +++ b/IPython/utils/sysinfo.py @@ -23,7 +23,7 @@ import subprocess from ConfigParser import ConfigParser from IPython.core import release -from IPython.utils import py3compat, _sysinfo +from IPython.utils import py3compat, _sysinfo, encoding #----------------------------------------------------------------------------- # Code @@ -91,6 +91,7 @@ def pkg_info(pkg_path): sys_platform=sys.platform, platform=platform.platform(), os_name=os.name, + default_encoding=encoding.DEFAULT_ENCODING, )