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 coderanger
Recipients coderanger, eric.araujo, tarek
Date 2010-10-19.19:10:42
SpamBayes Score 2.2204056e-06
Marked as misclassified No
Message-id <1287515445.03.0.219266745901.issue10146@psf.upfronthosting.co.za>
In-reply-to
Content
If a prefix is passed to translate_pattern it will generate a pattern using the unescaped output of os.path.join(). This is fine on *nix, but on Windows it results in a pattern like r'build\.*', which matches any string starting with "build" (in my case, "buildout.cfg"). Escaping the separator fixes this (patch attached).
History
Date User Action Args
2010-10-19 19:10:45coderangersetrecipients: + coderanger, tarek, eric.araujo
2010-10-19 19:10:45coderangersetmessageid: <1287515445.03.0.219266745901.issue10146@psf.upfronthosting.co.za>
2010-10-19 19:10:43coderangerlinkissue10146 messages
2010-10-19 19:10:43coderangercreate