This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Aquinas, Tilka, a1abhishek, docs@python, eric.araujo, eric.smith, ezio.melotti, george.hu, kveretennicov, l0nwlf, maker, mrabarnett, serhiy.storchaka, terry.reedy
Date 2013-03-11.14:39:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363012747.09.0.704138875539.issue8402@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2013-03-11 14:39:07serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, eric.smith, kveretennicov, ezio.melotti, eric.araujo, mrabarnett, l0nwlf, george.hu, docs@python, maker, Aquinas, Tilka, a1abhishek
2013-03-11 14:39:07serhiy.storchakasetmessageid: <1363012747.09.0.704138875539.issue8402@psf.upfronthosting.co.za>
2013-03-11 14:39:07serhiy.storchakalinkissue8402 messages
2013-03-11 14:39:06serhiy.storchakacreate