Thomas Gläßle <tho...@coldfix.de> added the comment: Hi, thanks for the consideration!
Is there any reason to introduce different behaviour than with filterwarnings here? This increases the number of things to remember - and except for the dot regex syntax doesn't interfere with module names, so there is no big drawback here either. More importantly, my main use case for filterwarnings would be to select/ignore warnings based on module *or package* name. With the current interpretation as exact module name, you have to list all submodules in advance, which is quite inhibiting. I have fixed the `[.*]` bogus example in the PR. Best, Thomas ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34624> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com