Message151633
[Reposting, since roundup removed part of the Python output]
M.-A. Lemburg wrote:
> Note that the integer attack also applies to other number types
> in Python:
>
> --> (hash(3), hash(3.0), hash(3+0j)
> (3, 3, 3)
>
> See Tim's post I referenced earlier on for the reasons. Here's
> a quick summary ;-) ...
>
> --> {3:1, 3.0:2, 3+0j:3}
> {3: 3} |
|
Date |
User |
Action |
Args |
2012-01-19 15:13:20 | lemburg | set | recipients:
+ lemburg, gvanrossum, tim.peters, barry, georg.brandl, terry.reedy, gregory.p.smith, jcea, mark.dickinson, pitrou, vstinner, christian.heimes, benjamin.peterson, eric.araujo, grahamd, Arfrever, v+python, alex, zbysz, skrah, dmalcolm, gz, neologix, Arach, Mark.Shannon, eric.snow, Zhiping.Deng, Huzaifa.Sidhpurwala, Jim.Jewett, PaulMcMillan, fx5 |
2012-01-19 15:13:20 | lemburg | link | issue13703 messages |
2012-01-19 15:13:19 | lemburg | create | |
|