STINNER Victor victor.stin...@haypocalc.com added the comment:
test_sys is still failing on my system where LC_CTYPE
only is set to utf-8
Oh yes, test_sys fails if LC_ALL or LC_CTYPE is a locale using a different
encoding than ascii (eg. LC_ALL=fr_FR.utf8). Fixed by r84314.
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
r84308 should fix the last problems on Mac OS X, FreeBSD and Solaris.
The last failure on test_sys is on Windows with test_undecodable_code
(TypeError: Type str doesn't support the buffer API), which is unrelated.
Reopen the issue
R. David Murray rdmur...@bitdance.com added the comment:
test_sys is still failing on my system where LC_CTYPE only is set to utf-8.
Victor, do you want me to apply the LANG-LC_ALL change to the test?
--
status: closed - open
___
Python tracker
Florent Xicluna florent.xicl...@gmail.com added the comment:
This is still an issue on some buildbots:
- since r84224 on OS X (PPC Leopard, x86 Tiger)
- since r84182 on sparc solaris10 gcc, x86 FreeBSD, x86 FreeBSD 7.2
The issue was fixed in r84201, r84202, r84203 for OS X buildbots only, but
STINNER Victor victor.stin...@haypocalc.com added the comment:
I'm working on a fix for test_sys failure. test_os should not fail anymore.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8622
R. David Murray rdmur...@bitdance.com added the comment:
In an up to date checkout of py3k on Gentoo linux with LC_CTYPE=en_US.UTF-8, I
get a failure in test_sys:
==
FAIL: test_pythonfsencoding (test.test_sys.SysModuleTest)
R. David Murray rdmur...@bitdance.com added the comment:
Setting LC_ALL instead of LANG in the test fixes the problem.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8622
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Le jeudi 19 août 2010 22:40:53, vous avez écrit :
Just please make sure that on other platforms such as BSD, Solaris,
AIX, etc. that don't have this special Python support
the env vars are honored.
I added much more tests on the
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, I realized that PYTHONFSENCODING is ignored on Windows and Mac OS X. r84201
and r84202 fix test_sys, and r84203 fixes the documentation and Python usage
(hide PYTHONFSENCODING variable in Python help on Windows and Mac OS X).
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, I realized that PYTHONFSENCODING is ignored on Windows and Mac OS X.
r84201 and r84202 fix test_sys, and r84203 fixes the documentation and
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, I realized that PYTHONFSENCODING is ignored on Windows and Mac OS X.
r84201 and r84202 fix test_sys, and r84203 fixes the documentation and
Python usage (hide PYTHONFSENCODING variable in Python help on Windows
and Mac OS
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, I realized that PYTHONFSENCODING is ignored on Windows and Mac OS X.
r84201 and r84202 fix test_sys, and r84203 fixes the documentation and
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Here you have a patch. It adds tests in test_sys.
The tests are skipped on a non-ascii Python executable path because of #8611
(see #9425).
STINNER Victor victor.stin...@haypocalc.com added the comment:
The command line -h explanation is missing from the patch.
done
The documentation should mention that the env var is only
read once; subsequent changes to the env var are not seen
by Python
I copied the PYTHONIOENCODING doc
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file18562/pythonfsencoding.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8622
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
To remove sys.setfilesystemencoding(), ... I will open a new issue
done, issue #9632
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8622
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
The command line -h explanation is missing from the patch.
done
The documentation should mention that the env var is only
read once; subsequent
STINNER Victor victor.stin...@haypocalc.com added the comment:
Commited to 3.2 as r84182.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8622
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Here you have a patch. It adds tests in test_sys.
The tests are skipped on a non-ascii Python executable path because of #8611
(see #9425).
--
keywords: +patch
nosy: +pitrou
Added file:
Changes by Georg Brandl ge...@python.org:
--
assignee: - haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8622
___
___
Python-bugs-list
New submission from Marc-Andre Lemburg m...@egenix.com:
As discussed on issue8610, we need a way to override the automatic detection of
the file system encoding - for much the same reasons we also do for the I/O
encoding: the detection mechanism isn't fail-safe.
We should add a new
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8622
___
22 matches
Mail list logo