> > The newish test_pep277 fails on Win98SE, then leaves behind a directory > > named @test that causes 4 later tests to fail for bogus reasons. > > > > Anyone know whether this test is supposed to work <wink>? Mark, Martin? > > It is not supposed to work on Win9x <wink/frown> > > Not exactly sure what to do about this. Maybe we should expose > posixmodule's unicode_file_names() function - some way of > indicating if the > underlying file system supports Unicode. OK - in the efforts of actually progressing something <wink>, would you prefer a patch that: * Added os._get_windows_version() as an alias for the Win32 GetVersion() function. We then clone the test in posixmodule.c for test_pep277.py, and life is good. This function would be generally useful - it is almost a FAQ on c.l.python and all the answers are generally unsatisfactory. * Added os._unicode_file_apis(), which exposes the internal posixmodule function unicode_file_names(). Currently this is simply a GetVersion() call, but later it may grow additional checks. * Did something else completely <wink> Mark.
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