On 01/21/16 10:47, Nagy, Attila wrote:
While on pypy:
Python 2.7.10 (5f8302b8bf9f53056e40426f10c72151564e5b19, Jan 16 2016,
01:16:36)
[PyPy 4.0.1 with GCC 4.2.1 Compatible FreeBSD Clang 3.4.1
(tags/RELEASE_34/dot1-final 208032)] on freebsd10
Type "help", "copyright", "credits" or "license" for more information.
import sys
repr(sys.getfilesystemencoding())
'None'
Also, trying to work this around by setting LC_CTYPE doesn't help,
because it doesn't work:
$ LC_CTYPE=en_US.ASCII python -c 'import sys; print
sys.getfilesystemencoding()'
US-ASCII
$ LC_CTYPE=en_US.UTF-8 python -c 'import sys; print
sys.getfilesystemencoding()'
UTF-8
$ LC_CTYPE=en_US.ASCII pypy -c 'import sys; print
sys.getfilesystemencoding()'
None
$ LC_CTYPE=en_US.UTF-8 pypy -c 'import sys; print
sys.getfilesystemencoding()'
None
I guess this is where the problem lies.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev