Serhiy Storchaka added the comment:

Escaping for glob on Windows should not be such trivial. Special characters in 
the drive part have no special meaning and should not be escaped. I.e. 
``escape('//?/c:/Quo vadis?.txt')`` should return ``'//?/c:/Quo 
vadis[?].txt'``. Perhaps we should move the escape function to the glob module 
(because it is glob's peculiarity).

Here is a patch for glob.escape().

----------
Added file: http://bugs.python.org/file29380/glob_escape.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8402>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to