[issue26156] Bad name into power operator syntax

2016-01-19 Thread Chema Cortés
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

[issue5186] Reduce hash collisions for objects with no __hash__ method

2009-02-11 Thread Chema Cortés
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

[issue5169] Default hash not equal to id on AMD Sempron

2009-02-06 Thread Chema Cortés
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

[issue5169] Default hash not equal to id on AMD Sempron

2009-02-06 Thread Chema Cortés
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