Message114421
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 filesystem encoding:
- (test_os) FSEncodingTests.test_encodings() tests different encoding values
and check for some known values
- (test_sys) SysModuleTest.test_pythonfsencoding() tests Python with C locale
and check that the FS encoding is ascii, and test that setting
PYTHONFSENCODING is understood by Python (run python with "import sys;
print(sys.getfilesystemencoding())" and compare the output)
These tests are skipped on Windows and Mac OS X. I also patched the doc
(what's new / cmdline) to explain that PYTHONFSENCODING is not available
(ignored) on these OSes. |
|
Date |
User |
Action |
Args |
2010-08-20 08:34:38 | vstinner | set | recipients:
+ vstinner, lemburg, pitrou, Arfrever |
2010-08-20 08:34:36 | vstinner | link | issue8622 messages |
2010-08-20 08:34:34 | vstinner | create | |
|