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.

作者 rhettinger
收信人 facundobatista, jdunck, lorg, mark.dickinson, rhettinger
日期 2009-03-21.17:38:05
SpamBayes Score 1.4142099e-05
Marked as misclassified
Message-id <1237657089.04.0.176370645377.issue2531@psf.upfronthosting.co.za>
In-reply-to
内容
I think "the best we can do" is return valid comparison results between
floats and decimals in 2.x.  It doesn't make anything worse and it does
make something better.  Unlike other cross-type comparisons,
number-to-number is not an unreasonable thing to do.  And, we not
obliged to carry that over to 3.x where cross-type comparisons have to
be specifically enabled.  I believe this is the best solution.
历史
日期 用户 动作 参数
2009-03-21 17:38:09rhettinger修改recipients: + rhettinger, facundobatista, mark.dickinson, jdunck, lorg
2009-03-21 17:38:09rhettinger修改messageid: <1237657089.04.0.176370645377.issue2531@psf.upfronthosting.co.za>
2009-03-21 17:38:06rhettinger链接issue2531 messages
2009-03-21 17:38:06rhettinger创建