[issue7729] min() working incorrectly for decimal and float values

2010-01-18 Thread Florent Xicluna
Changes by Florent Xicluna : -- superseder: -> float compared to decimal is silently incorrect. ___ Python tracker ___ ___ Python-bugs

[issue7729] min() working incorrectly for decimal and float values

2010-01-18 Thread Ezio Melotti
Ezio Melotti added the comment: Closing as duplicate of #2531. -- nosy: +ezio.melotti, mark.dickinson priority: -> normal resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue7729] min() working incorrectly for decimal and float values

2010-01-18 Thread Umit Oztosun
New submission from Umit Oztosun : On MacOSX (10.5) Intel, Python 2.6.4 >>> from decimal import Decimal >>> min(Decimal('3.0'), 10.2) 10.199 On Win32, Python 2.6.4 >>> from decimal import Decimal >>> min(Decimal('3.0'), 10.2) Decimal('3.0') On Linux 32 bit, Python 2.6.4 >>> from