homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients HWJ, amaury.forgeotdarc, bboissin, benjamin.peterson, djc, dlitz, draghuram, georg.brandl, gvanrossum, loewis, pitrou, vstinner, zegreek
Date 2008年10月03日.18:51:59
SpamBayes Score 4.9003148e-08
Marked as misclassified No
Message-id <1223059922.82.0.607660220435.issue3187@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry Amaury, but there's another issue.
test_ntpath now fails when run with -bb:
======================================================================
ERROR: test_expandvars (__main__.TestNtpath)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "Lib/test/test_ntpath.py", line 151, in test_expandvars
 tester('ntpath.expandvars("$foo bar")', "bar bar")
 File "Lib/test/test_ntpath.py", line 10, in tester
 gotResult = eval(fn)
 File "<string>", line 1, in <module>
 File "/usr/local/google/home/guido/python/py3k/Lib/ntpath.py", line
344, in expandvars
 if c in ('\'', b'\''): # no expansion within single quotes
BytesWarning: Comparison between bytes and string
======================================================================
ERROR: test_normpath (__main__.TestNtpath)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "Lib/test/test_ntpath.py", line 120, in test_normpath
 tester("ntpath.normpath('A//////././//.//B')", r'A\B')
 File "Lib/test/test_ntpath.py", line 10, in tester
 gotResult = eval(fn)
 File "<string>", line 1, in <module>
 File "/usr/local/google/home/guido/python/py3k/Lib/ntpath.py", line
465, in normpath
 if comps[i] in ('.', '', b'.', b''):
BytesWarning: Comparison between bytes and string
======================================================================
ERROR: test_relpath (__main__.TestNtpath)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "Lib/test/test_ntpath.py", line 188, in test_relpath
 tester('ntpath.relpath("a")', 'a')
 File "Lib/test/test_ntpath.py", line 10, in tester
 gotResult = eval(fn)
 File "<string>", line 1, in <module>
 File "/usr/local/google/home/guido/python/py3k/Lib/ntpath.py", line
534, in relpath
 start_list = abspath(start).split(sep)
 File "/usr/local/google/home/guido/python/py3k/Lib/ntpath.py", line
504, in abspath
 return normpath(path)
 File "/usr/local/google/home/guido/python/py3k/Lib/ntpath.py", line
465, in normpath
 if comps[i] in ('.', '', b'.', b''):
BytesWarning: Comparison between bytes and string
History
Date User Action Args
2008年10月03日 18:52:02gvanrossumsetrecipients: + gvanrossum, loewis, georg.brandl, amaury.forgeotdarc, pitrou, vstinner, draghuram, benjamin.peterson, djc, HWJ, dlitz, zegreek, bboissin
2008年10月03日 18:52:02gvanrossumsetmessageid: <1223059922.82.0.607660220435.issue3187@psf.upfronthosting.co.za>
2008年10月03日 18:52:02gvanrossumlinkissue3187 messages
2008年10月03日 18:52:00gvanrossumcreate

AltStyle によって変換されたページ (->オリジナル) /