This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Tom.Rini
Recipients Tom.Rini, andrewclegg, eric.araujo, pitrou, r.david.murray, rhettinger
Date 2011-07-02.03:17:16
SpamBayes Score 0.09118706
Marked as misclassified No
Message-id <1309576637.61.0.772006554772.issue7846@psf.upfronthosting.co.za>
In-reply-to
Content
So yes, we have some code that was doing, roughly:
if any(fnmatchcase(key, pat) for pat in pattern):
   refs.add(key)
on 200-300 elements, a lot.  That said, many of them were not globs so we've worked around this to only use fnmatchcase on globs and just key in set otherwise.  Things are now usable on python 2.6.6+ (so Ubuntu 10.10) and noise otherwise.
History
Date User Action Args
2011-07-02 03:17:17Tom.Rinisetrecipients: + Tom.Rini, rhettinger, pitrou, eric.araujo, r.david.murray, andrewclegg
2011-07-02 03:17:17Tom.Rinisetmessageid: <1309576637.61.0.772006554772.issue7846@psf.upfronthosting.co.za>
2011-07-02 03:17:17Tom.Rinilinkissue7846 messages
2011-07-02 03:17:16Tom.Rinicreate