Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: > It produces the same hash value for range(5,10,2) and range(5,9,2) > which are equivalent. If "equivalent" means "__eq__", they are not.
This does not invalidate your formula, of course: different objects may have the same hash. It is also simple to understand: just mix the numbers together. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2603> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com