New submission from Chema Cortés:
The documentation erroneously changes "primary" for "away" in the power
operator syntax:
https://docs.python.org/3.6/reference/expressions.html#the-power-operator
https://docs.python.org/3.5/reference/expressions.html#the-power-operator
Changes by Chema Cortés :
--
nosy: +chemacortes
___
Python tracker
<http://bugs.python.org/issue5186>
___
___
Python-bugs-list mailing list
Unsubscribe:
Chema Cortés added the comment:
I also agree to close this bug as invalid. Indeed, there is not any
reason to make equal id(a) and hash(a), but the description of
"hashable" object from the documentation (but this is a different
issue).
'hash' and 'id' returns th
New submission from Chema Cortés :
Sometimes, the default hash for user-defined object is not equal to the
id of the object:
In [1]: class A:
...: pass
In [2]: a=A()
In [3]: id(a),hash(a)
Out[3]: (3082955212L, -1212012084)
The test box has an AMD Sempron, a 64bit CPU archictecture