On Sun, 5 Nov 2000, Guido van Rossum wrote: > - The file must be None or a shell matching pattern, e.g. "*foo"; > the ".py" suffix is optional; a partial pathname may be given too. > So "foo/bar" matches "/usr/lib/python2.0/foo/bar.py" but also > "/home/guido/libp/tralala/foo/bar.py". If the file is None or "*" > the filter applies regardless of the file. How about "file" must be None or a callable, and if it's a callable, it will be called to check whether to print? If I'll want fnmatch, I know where to find it. > - The message must be a None or a string. If it is None, the filter > applies to all messages. The message string may end in "*" to > match all messages with the given text (up to the "*"). Same remark. If I want re, I know where to find it. -- Moshe Zadka <moshez@math.huji.ac.il> -- 95855124 http://advogato.org/person/moshez
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4