On Wed, Oct 09, 2002 at 03:59:29AM -0400, Tim Peters wrote: > [Anders Qvist] > > ... > > check_all("ntpath") > > File "../../python/dist/src/Lib/test/test___all__.py", line 15, > > in check_all > > exec "import %s" % modname in names > > File "<string>", line 1, in ? > > File "/home/quest/tmp/compile- > > python/python/dist/src/Lib/ntpath.py", line 482, in ? > > supports_unicode_filenames = sys.getwindowsversion()[3] >= 2 > > AttributeError: 'module' object has no attribute 'getwindowsversion' > > Grrr. I expect I just fixed this, but can't test it now on Linux for > you. The person who checked this change in probably didn't realize > that ntpath was imported on any system other than Windows. I'm > surprised the bug went uncaught for so long! (Ya, it was less than a > day, but still ...) :-) I've been running 2.2.2 only. I just tried to run 2.3 and had some problems. __all__ is ok, though. The first problem is in regrtest. This exception causes regrtest to crash. test_pyexpat Traceback (most recent call last): File "./Lib/test/regrtest.py", line 877, in ? main() File "./Lib/test/regrtest.py", line 229, in main ok = runtest(test, generate, verbose, quiet, testdir) File "./Lib/test/regrtest.py", line 392, in runtest output = cfp.getvalue() File "/home/neal/build/python/dist/src/Lib/StringIO.py", line 195, in getvalue self.buf += ''.join(self.buflist) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 36: ordinal not in range(128) I put a try/except around line 392 in regrtest and then had 2 failures: test_pyexpat had no output (the unicode problem I guess) and test_rotor: test test_rotor produced unexpected output: ********************************************************************** *** mismatch between lines 2-3 of expected output and lines 2-3 of actual output: - '\xb5q\x90\xa3\xe8IT\xd1\x07\xda\x1d\xdc\xdf' + 'qqqqq\x90 ... Some unicode problem complaining about these 2 chars: \xcb and \xe2 which are printed as e umlaut and e circumflex. Maybe this is just me again though? Neal
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