Message408499
One option is to keep the current behavior by default, but support a new "/regex/" format. The /regex/ format is commonly used in Perl and sed.
Example to ignore warnings containing "deprecated" string in their message:
python3 -W "ignore:/deprecated/"
PYTHONWARNINGS="ignore:/deprecated/"
whereas the following commands continue to match exactly the whole warning message "deprecated":
python3 -W "ignore:deprecated"
PYTHONWARNINGS="ignore:deprecated" |
|
Date |
User |
Action |
Args |
2021-12-13 23:33:49 | vstinner | set | recipients:
+ vstinner, ncoghlan, blueyed, christian.heimes, nedbat, mpaolini, kernc, xtreak, coldfix, Yongjik Kim |
2021-12-13 23:33:49 | vstinner | set | messageid: <1639438429.29.0.0881367454673.issue34624@roundup.psfhosted.org> |
2021-12-13 23:33:49 | vstinner | link | issue34624 messages |
2021-12-13 23:33:49 | vstinner | create | |
|