On Tue, Jan 06, 2004 at 07:22:52PM +1100, Mark Hammond wrote: > > The utime() call is failing for one of the Unicode file names. > > > > build> ./python ../Lib/test/test_unicode_file.py > > test_directories (__main__.TestUnicodeFiles) ... ok > > test_equivalent_files (__main__.TestUnicodeFiles) ... ok > > test_single_files (__main__.TestUnicodeFiles) ... > > '@test-\xc3\xa0\xc3\xb2' > > '@test-\xc3\xa0\xc3\xb2' > > u'@test-\xe0\xf2' > > ERROR > > By default, this test is working for me on Linux. I suspect it has to do > with the fact that: > > [skip at bobcat build]$ ./python -c 'import sys;print > sys.getfilesystemencoding()' > UTF-8 > > By way of testing, I tried: > [skip at bobcat build]$ export LANG=de_DE > [skip at bobcat build]$ ./python -c 'import sys;print > sys.getfilesystemencoding()' > ISO-8859-1 > > And the tests still succeeded. Trying to work with "ascii" as the encoding > results in a 'TestSkipped' exception: > > [skip at bobcat build]$ export LANG=C > [skip at bobcat build]$ ./python -c 'import sys;print > sys.getfilesystemencoding()' > ANSI_X3.4-1968 > [skip at bobcat build]$ ./python ../Lib/test/test_unicode_file.py > ... > test.test_support.TestSkipped: No Unicode filesystem semantics on this > platform. > > I even managed to get my Windows 98 box on the network again, and this also > seems to work for me from current CVS. I'm really not sure what I am > missing.... > I guess <wink/> that I fixed it on Modules/posixmodule.c rev 2.310. Hye-Shik
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4