[issue27265] Hash of different, specific Decimals created from str is the same

2016-06-08 Thread Radosław Szalski
New submission from Radosław Szalski: Python 2.7.11 (default, May 9 2016, 19:53:39) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from decimal import

[issue27265] Hash of different, specific Decimals created from str is the same

2016-06-09 Thread Radosław Szalski
Radosław Szalski added the comment: Thanks for the reply and analysis, Mark. My motivation was that as a "clueless user", I shouldn't worry about how Decimals are created. Given two equal numbers, I would expect their behavior (e.g., result of a hash) to be the same as well.

[issue27265] Hash of different, specific Decimals created from str is the same

2016-06-09 Thread Radosław Szalski
Radosław Szalski added the comment: Thanks for the comments, you are both correct. I think that the issue is resolved now, so I'm closing this a won't fix. -- status: open -> closed ___ Python tracker <http://bugs.pytho