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: <[email protected]> |
| 2021-12-13 23:33:49 | vstinner | link | issue34624 messages |
| 2021-12-13 23:33:49 | vstinner | create | |
|