This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, belopolsky, benjamin.peterson, georg.brandl, gvanrossum, pitrou, rhettinger
Date 2008-04-17.07:21:16
SpamBayes Score 0.49532858
Marked as misclassified No
Message-id <1208416878.52.0.92859867792.issue2603@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2008-04-17 07:21:19amaury.forgeotdarcsetspambayes_score: 0.495329 -> 0.49532858
recipients: + amaury.forgeotdarc, gvanrossum, georg.brandl, rhettinger, belopolsky, pitrou, benjamin.peterson
2008-04-17 07:21:18amaury.forgeotdarcsetspambayes_score: 0.495329 -> 0.495329
messageid: <1208416878.52.0.92859867792.issue2603@psf.upfronthosting.co.za>
2008-04-17 07:21:17amaury.forgeotdarclinkissue2603 messages
2008-04-17 07:21:16amaury.forgeotdarccreate