[Patches] [ python-Patches-545150 ] {a,b} in fnmatch.translate

noreply@sourceforge.net noreply@sourceforge.net
Wed, 17 Apr 2002 23:01:14 -0700


Patches item #545150, was opened at 2002-04-17 14:40
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=545150&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Gustavo Niemeyer (niemeyer)
Assigned to: Nobody/Anonymous (nobody)
Summary: {a,b} in fnmatch.translate

Initial Comment:
This patch adds support to {a,b} expansion constructs  
in fnmatch.translate. That is, file{a,b}.txt will 
match both, filea.txt and fileb.txt, like usual 
shell expansions. 
  

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-04-18 08:01

Message:
Logged In: YES 
user_id=21627

I'm concerned about backwards compatibility of this change.
People who currently use { in their patterns get them
translated literally; under your change, this will have a
different effect.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=545150&group_id=5470