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 <[email protected]>
<http://bugs.python.org/issue16696>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com