Guido van Rossum wrote: > [...] >>while merging the two APIs is probably not right >>the warning-module might well be a 'user' of the >>logging-module. > > > Good point. You can easily do this: the function > warnings.showwarning() is a hook that you are allowed to replace. Yes, but to configure the filter for warnings you have to use warnings.filterwarnings() with its API and for filtering logging you're using a different API. Conceptually they are doing the same, so they should have similar APIs. Bye, Walter Dörwald
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