This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Radosław Szalski
Recipients Radosław Szalski, mark.dickinson
Date 2016-06-09.15:12:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465485168.68.0.029750699569.issue27265@psf.upfronthosting.co.za>
In-reply-to
Content
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. In this example, the behavior differs simply based on whether the Decimal was created from a string vs a float.

However, since there are bound to be collisions, and the performance overhead is negligible (in case of a collision), and Python 3 solves this problem I agree this can be closed as "won't-fix".
History
Date User Action Args
2016-06-09 15:12:48Radosław Szalskisetrecipients: + Radosław Szalski, mark.dickinson
2016-06-09 15:12:48Radosław Szalskisetmessageid: <1465485168.68.0.029750699569.issue27265@psf.upfronthosting.co.za>
2016-06-09 15:12:48Radosław Szalskilinkissue27265 messages
2016-06-09 15:12:48Radosław Szalskicreate