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 mark.dickinson
Recipients facundobatista, gvanrossum, jyasskin, mark.dickinson, rhettinger
Date 2008-01-14.03:07:29
SpamBayes Score 0.050726943
Marked as misclassified No
Message-id <>
Just had a quick look at  Only two comments:

1. I think there's a typo in the docstring for Inexact:  one of those == should be a != 

2. Not that it really matters now, but note that at least for Decimal, x-y is not the same 
as x+(-y)  (I'm looking at Complex.__sub__), and +x is not a no-op (Real.real, 
Real.conjugate).  In both cases signs of zeros can be problematic:

>>> x = Decimal('-0')
>>> y = Decimal('0')
>>> x-y
>>> x+(-y)
>>> x
>>> +x

Of course the first point wouldn't matter anyway since Decimal already implements __sub__;  
the second means that if Decimal were to join Real,  something would need to be done to 
avoid Decimal("-0").real becoming Decimal("0").
Date User Action Args
2008-01-14 03:07:32mark.dickinsonsetspambayes_score: 0.0507269 -> 0.050726943
recipients: + mark.dickinson, gvanrossum, rhettinger, facundobatista, jyasskin
2008-01-14 03:07:31mark.dickinsonsetspambayes_score: 0.0507269 -> 0.0507269
messageid: <>
2008-01-14 03:07:30mark.dickinsonlinkissue1682 messages
2008-01-14 03:07:29mark.dickinsoncreate