STINNER Victor added the comment: > * Fix warnings._add_filter() to implement a custom comparator operator for > regular expression objects: compare pattern and flags
Attached patch warnings_key.patch implements this. I really dislike the patch :-( ---------- keywords: +patch Added file: http://bugs.python.org/file45521/warnings_key.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28688> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com