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 Yongjik Kim
Recipients Yongjik Kim, blueyed, coldfix, kernc, mpaolini, ncoghlan, nedbat, nikratio, xtreak
Date 2020-07-15.06:45:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594795550.45.0.487103892346.issue34624@roundup.psfhosted.org>
In-reply-to
Content
Hi, sorry if I'm interrupting, but while we're at this, could we also not escape regex for "message" part?  (Or at least amend the documentation to clarify that the message part is literal string match?)

Currently, the docs on -W just say "The meaning of each of these fields is as described in The Warnings Filter" and then "The Warnings Filter" section says that the "message" field is a regex, but currently it's only true if you run warnings.filterwarnings() directly, and not if you use the -W option.
History
Date User Action Args
2020-07-15 06:45:50Yongjik Kimsetrecipients: + Yongjik Kim, ncoghlan, blueyed, nedbat, nikratio, mpaolini, kernc, xtreak, coldfix
2020-07-15 06:45:50Yongjik Kimsetmessageid: <1594795550.45.0.487103892346.issue34624@roundup.psfhosted.org>
2020-07-15 06:45:50Yongjik Kimlinkissue34624 messages
2020-07-15 06:45:50Yongjik Kimcreate