On Jun 11, 8:55 pm, Christian Heimes wrote:
> Phil Thompson schrieb:
>
> > How stable should the implementation of, for example, a string's hash
> > across different Python versions?
>
> > Is it defined that hash("foo") will return the same value for Python 2.5.1,
> > 2.6.1 and 2.6.2?
>
> The hash
Phil Thompson schrieb:
> How stable should the implementation of, for example, a string's hash
> across different Python versions?
>
> Is it defined that hash("foo") will return the same value for Python 2.5.1,
> 2.6.1 and 2.6.2?
The hash of an object is an internal implementation detail. The has
En Thu, 11 Jun 2009 13:56:17 -0300, Phil Thompson
escribió:
How stable should the implementation of, for example, a string's hash
across different Python versions?
I cannot find any such guarantee in the documentation:
http://docs.python.org/reference/datamodel.html
Is it defined that hash
Phil Thompson wrote:
How stable should the implementation of, for example, a string's hash
across different Python versions?
Is it defined that hash("foo") will return the same value for Python 2.5.1,
2.6.1 and 2.6.2?
Thanks,
Phil
Pretty certain that A.B.* will always hash the same (unacceptab
How stable should the implementation of, for example, a string's hash
across different Python versions?
Is it defined that hash("foo") will return the same value for Python 2.5.1,
2.6.1 and 2.6.2?
Thanks,
Phil
--
http://mail.python.org/mailman/listinfo/python-list