STINNER Victor added the comment: I implemented x==y operator for _sre.SRE_Pattern in Python 3.6 and 3.7, it fixed this issue.
For Python 3.5, I removed the warnings.filters test, as we discussed. @Martin Panter: immortal-filters.patch works because I'm not super excited by the change. Somehow, it looks like a hack... even if I don't see any better solution for Python 3.5. Since the bug only impacts Python test suite in the practical, is it really worth it to fix it in Python 3.5 which is almost in the "security fix only" stage? @Martin: It's up to you, I have no strong opinion on your patch. > I agree there is no need to change Python 2 at this stage. Ok. ---------- _______________________________________ 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