Message146208
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. |
|
Date |
User |
Action |
Args |
2011-10-23 00:53:41 | eric.araujo | set | recipients:
+ eric.araujo, tarek, alexis, python-dev, jlove |
2011-10-23 00:53:41 | eric.araujo | set | messageid: <1319331221.41.0.468664179197.issue11751@psf.upfronthosting.co.za> |
2011-10-23 00:53:40 | eric.araujo | link | issue11751 messages |
2011-10-23 00:53:40 | eric.araujo | create | |
|