[issue25359] io.open() fails to open ascii file if LANG env not set

R. David Murray report at bugs.python.org
Mon Oct 12 11:48:43 EDT 2015


R. David Murray added the comment:

I cannot reproduce this on 10.10.3:

rdmurray at intel-vm-buildbot:~>sw_vers
ProductName:    Mac OS X
ProductVersion: 10.10.3
BuildVersion:   14D136

rdmurray at intel-vm-buildbot:~>LANG=en_us.UTF-8 python temp
Local pref:  UTF-8
LANG env:  en_us.UTF-8
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
Local pref:  UTF-8
LANG env has key:  False
UTF-8
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL

This is using the installed Apple python, but I get the same result using a recent local 2.7 build.

----------
components: +Macintosh
nosy: +ned.deily, r.david.murray, ronaldoussoren

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25359>
_______________________________________


More information about the Python-bugs-list mailing list