[issue2531] float compared to decimal is silently incorrect.

2009-04-24 Thread Jeremy Dunck

Jeremy Dunck  added the comment:

I'm interested.  I just had already said my peace and didn't know my
prior interest wasn't being counted.  The patch uploaded by dmmartins
seemed good to me.  I'm probably biased, since this bug affected me.

--

___
Python tracker 
<http://bugs.python.org/issue2531>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2531] float compared to decimal is silently incorrect.

2009-03-19 Thread Jeremy Dunck

Jeremy Dunck  added the comment:

I hear you on the 2.x to 3.x transition-- I'm not really asking for
mixed-mode arithmetic.  I'd be perfectly happy if float > decimal raised
TypeError, as float + decimal does.

My complaint is that it is silently wrong.

--

___
Python tracker 
<http://bugs.python.org/issue2531>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2531] float compared to decimal is silently incorrect.

2008-04-01 Thread Jeremy Dunck

Changes by Jeremy Dunck <[EMAIL PROTECTED]>:


--
type:  -> behavior

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2531>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2531] float compared to decimal is silently incorrect.

2008-04-01 Thread Jeremy Dunck

New submission from Jeremy Dunck <[EMAIL PROTECTED]>:

Within python 2.5.2:

>>> from decimal import Decimal
>>> x = 3.0
>>> y = Decimal('0.25')
>>> x > y
False (expected error, as in 2.4, or True)

--
components: Library (Lib)
messages: 64827
nosy: jdunck
severity: normal
status: open
title: float compared to decimal is silently incorrect.
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2531>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com