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 christian.heimes, facundobatista, mark.dickinson, poelzi
Date 2007-12-08.00:46:02
SpamBayes Score 0.019410722
Marked as misclassified No
Message-id <>
It's not clear to me that this would be the right behaviour.  Unless I'm 
missing something, Decimal behaves in just the same way as types like 
int, float and str in this respect:

>>> class myint(int): pass
>>> a = myint(2)
>>> b = myint(3)
>>> a+b
>>> type(_)
<type 'int'>

Tim Peters had something to say on this subject at:
Date User Action Args
2007-12-08 00:46:03mark.dickinsonsetspambayes_score: 0.0194107 -> 0.019410722
recipients: + mark.dickinson, facundobatista, christian.heimes, poelzi
2007-12-08 00:46:03mark.dickinsonsetspambayes_score: 0.0194107 -> 0.0194107
messageid: <>
2007-12-08 00:46:03mark.dickinsonlinkissue1562 messages
2007-12-08 00:46:02mark.dickinsoncreate