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 eric.araujo
Recipients alexis, eric.araujo, jlove, python-dev, tarek
Date 2011-10-23.00:53:40
SpamBayes Score 3.4819474e-05
Marked as misclassified No
Message-id <1319331221.41.0.468664179197.issue11751@psf.upfronthosting.co.za>
In-reply-to
Content
I’ve found the reason: #6665.  fnmatch.translate (used by _glob_to_re was changed to support filenames with embedded newlines.  I don’t think it’s a concern for us: As the input we give to _glob_to_re comes one line at a time from a file, we just never have filenames with newlines.

We can do one of these things for d2:
- Special-case 2.4 and 2.5 in the tests.
- Tweak _glob_to_re so that it changes the generated regex to match what we get in newer versions.
- Tweak _glob_to_re to remove the inline flags, as we don’t need them.

I think the last idea would be best.
History
Date User Action Args
2011-10-23 00:53:41eric.araujosetrecipients: + eric.araujo, tarek, alexis, python-dev, jlove
2011-10-23 00:53:41eric.araujosetmessageid: <1319331221.41.0.468664179197.issue11751@psf.upfronthosting.co.za>
2011-10-23 00:53:40eric.araujolinkissue11751 messages
2011-10-23 00:53:40eric.araujocreate