[New-bugs-announce] [issue2649] poss. patch for fnmatch.py to add {.htm, html} style globbing

Mark Summerfield report at bugs.python.org
Thu Apr 17 13:56:45 CEST 2008

New submission from Mark Summerfield <mark at qtrac.eu>:

At the moment fnmatch.py (and therefore glob.py) support:
* . [chars] [!chars]

The attached version of fnmatch.py extends this to:
* . [chars] [!chars] {one,two,...}

There are 2 changes from the original fnmatch.py file:
(1) The documentation for the fnmatch() function has been updated to
reflect the new functionality
(2) The translate() function has been completely replaced.
I ran test_fnmatch.py and test_glob.py and both ran without errors.

components: Library (Lib)
files: fnmatch.py
messages: 65584
nosy: mark
severity: normal
status: open
title: poss. patch for fnmatch.py to add {.htm,html} style globbing
type: feature request
versions: Python 3.0
Added file: http://bugs.python.org/file10047/fnmatch.py

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list