[New-bugs-announce] [issue16696] BytesWarning in glob.glob
Antoine Pitrou
report at bugs.python.org
Sun Dec 16 14:20:31 CET 2012
New submission from Antoine Pitrou:
This failure appeared on one of the Windows buildbots:
======================================================================
ERROR: test_glob_magic_in_drive (test.test_glob.GlobTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot.python.org\3.2.kloth-win64\build\lib\test\test_glob.py", line 118, in test_glob_magic_in_drive
eq(glob.glob(b'*:'), [])
File "C:\buildbot.python.org\3.2.kloth-win64\build\lib\glob.py", line 15, in glob
return list(iglob(pathname))
File "C:\buildbot.python.org\3.2.kloth-win64\build\lib\glob.py", line 44, in iglob
for name in glob_in_dir(dirname, basename):
File "C:\buildbot.python.org\3.2.kloth-win64\build\lib\glob.py", line 66, in glob0
if basename == '':
BytesWarning: Comparison between bytes and string
----------
components: Library (Lib), Windows
messages: 177596
nosy: pitrou, serhiy.storchaka
priority: normal
severity: normal
stage: needs patch
status: open
title: BytesWarning in glob.glob
type: behavior
versions: Python 3.2, Python 3.3, Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16696>
_______________________________________
More information about the New-bugs-announce
mailing list