[Mailman-Users] MM-2.1.12 Bug (non critical)

Barry Warsaw barry at list.org
Fri May 15 22:35:56 CEST 2009


On May 15, 2009, at 4:16 PM, Todd Zullinger wrote:

> Security Policy: http://wiki.list.org/x/QIA9Barry Warsaw wrote:
>> I tend to agree that "normal" users think of globs instead of
>> regexps.  Unfortunately, there's no good non-filesystem glob module
>> in Python that I know of.  Ideally, there'd be a module that
>> translates globs to regexps.  That might not be too hard.
>
> Would fnmatch.translate work?
>
> http://docs.python.org/library/fnmatch.html#fnmatch.translate

Indeed!  Nice find.
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20090515/ce20c5ab/attachment.pgp>


More information about the Mailman-Users mailing list