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 dev.xt...@gmail.com:
--
nosy: +chemacortes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5186
___
___
Python-bugs-list
New submission from Chema Cortés dev.xt...@gmail.com:
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
Chema Cortés dev.xt...@gmail.com 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 the same