[docs] [issue24108] fnmatch.translate('*.txt') fails

Merlijn van Deen report at bugs.python.org
Fri May 1 22:16:47 CEST 2015


Merlijn van Deen added the comment:

They are subtly different; the new regex also matches filenames with newlines, the old one doesn't (see Issue #6665 [1]).

Patch (although crazily minor) attached. With some fuzz, it applies on everything from 2.6..default.

[1] https://bugs.python.org/issue6665

----------
assignee:  -> docs at python
components: +Documentation -asyncio
keywords: +patch
nosy: +docs at python
Added file: http://bugs.python.org/file39261/default.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24108>
_______________________________________


More information about the docs mailing list