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 martin.panter
Recipients martin.panter, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-11-18.07:19:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I didn’t really like adding the _add_filter() special handling in the first place, but I went ahead because I couldn’t think of a better way to avoid the problem with reloading the warnings modules. So unless anyone can suggest anything better, I am okay with your patch (even if you dislike it :).

+    return (item[0], _pattern_key(item[1]), item[2], _pattern_key(item[3]))

The key is based on (action, message, category, module). I think you should add item[4] (lineno).
Date User Action Args
2016-11-18 07:19:29martin.pantersetrecipients: + martin.panter, vstinner, serhiy.storchaka, xiang.zhang
2016-11-18 07:19:29martin.pantersetmessageid: <>
2016-11-18 07:19:29martin.panterlinkissue28688 messages
2016-11-18 07:19:28martin.pantercreate