STINNER Victor added the comment: Patch version 4:
Fix _PyCode_ConstantKey: * always return a tuple * create a frozenset/set if input is a set/frozenset, items are unordered * enhance unit tests: compare values using repr() to compare value + type at once * fix reference leak Other minor changes to take Serhiy's comments in account. Thanks Serhiy for good suggestions! ---------- Added file: http://bugs.python.org/file41676/code_richcompare-4.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25843> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com