[issue4388] test_cmd_line fails on MacOS X
Jean Brouwers
report at bugs.python.org
Sun Nov 23 00:21:53 CET 2008
Jean Brouwers <MrJean1 at Gmail.com> added the comment:
The results from this script
import os, sys
print('Python %s' % sys.version.split()[0])
print('env[LANG]: %s' % os.environ.get('LANG', '<not set>'))
print('default encoding: %s' % sys.getdefaultencoding())
print('filesystem encoding: %s' % sys.getfilesystemencoding())
are with Python 3.0:
Python 3.0rc3
env[LANG]: <not set>
default encoding: utf-8
filesystem encoding: utf-8
but for Python 2.3 thru 2.6:
Python 2.6
env[LANG]: <not set>
default encoding: ascii
filesystem encoding: utf-8
All with Python built from source on MacOS X 10.4.11 (Intel).
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4388>
_______________________________________
More information about the Python-bugs-list
mailing list