Serhiy Storchaka added the comment: Here is a simple patch.
> Note, the optimized path should be used only when PyDict_CheckExact() is true. Actually this is not needed. dict_equal() uses the same code for dict subclasses. ---------- keywords: +patch nosy: +serhiy.storchaka stage: -> patch review Added file: http://bugs.python.org/file28137/dict_equal_hash_reuse.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16562> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com