On Wed, 19 Mar 2014 07:09:23 -0700 Thomas Wouters <tho...@python.org> wrote: > > He means you're being unrealistically pedantic :) The number of calls to > __eq__ is _already_ unpredictable, since (as Mark Shannon said) it depends > among other things on the hashing algorithm and the size of the dict.
Well, I was not arguing that the optimization would be an important compatibility break. Obviously, an __eq__ which would break this optimization would be particularly dubious (and probably wrong for other reasons) :-) Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com