[issue7846] Fnmatch cache is never cleared during usage
Éric Araujo
report at bugs.python.org
Tue Feb 16 06:02:12 CET 2010
Éric Araujo <merwok at netwok.org> added the comment:
Hello
The feature seems useful to me and the patch straightforward.
I wonder why you used a global name for the max length (“_MAXCACHE”) instead of inlining the value where it is used. Does it feel more constanty? ;) I fear that the leading underscore won’t discourage users from touching it, so I’d suggest making it public or completely hidden. On second thought, you could argue that Python is a matter of consenting adults, and that leading underscore is okay.
Regards
----------
nosy: +merwok
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7846>
_______________________________________
More information about the Python-bugs-list
mailing list