[issue1776674] glob.glob inconsistent

Amaury Forgeot d'Arc report at bugs.python.org
Sat Jul 31 15:11:55 CEST 2010


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Here is a test + patch, to preserve the separator. Of course this changes the current behaviour, like:
>>> glob.glob('/tmp/////foo*')
['/tmp/////foo1', '/tmp/////foo2']

----------
keywords: +patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file18284/glob_preserve_sep.patch

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


More information about the Python-bugs-list mailing list