Tal Einat added the comment: Attached a slightly revised patch thanks to Serhiy's review.
In addition to Serhiy's remarks, I used "_operator._compare_digest = _operator.eq" to reduce a bit more boilerplate. ---------- Added file: http://bugs.python.org/file39654/issue20186._operator.v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20186> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com