STINNER Victor added the comment: Patch version 8:
* Update to the latest PEP: remove micro-optimization in dictobject.c if the new value is identical to the current value, dict.__setitem__() now always changes the version * Refactor test_pep509 to address Brett's comments * Add new unit tests on identical values * Add new unit tests on equal values (with special __eq__ method) ---------- Added file: http://bugs.python.org/file42518/dict_version-8.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26058> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com