[issue16626] Infinite recursion in glob.glob('*:') on Windows

Antoine Pitrou report at bugs.python.org
Sat Dec 15 23:24:36 CET 2012


Antoine Pitrou added the comment:

Tests work fine under 3.x, but under 2.7 I get:

======================================================================
FAIL: test_glob_magic_in_drive (test.test_glob.GlobTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\t\cpython\lib\test\test_glob.py", line 117, in test_glob_magic_in_dri
ve
    eq(glob.glob('\\\\?\\c:\\'), ['\\\\?\\c:\\'])
  File "C:\t\cpython\lib\test\test_glob.py", line 48, in assertSequencesEqual_no
order
    self.assertEqual(set(l1), set(l2))
AssertionError: Items in the second set but not the first:
'\\\\?\\c:\\'

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16626>
_______________________________________


More information about the Python-bugs-list mailing list