Mark Dickinson added the comment:

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
5
>>> type(_)
<type 'int'>

Tim Peters had something to say on this subject at:

http://mail.python.org/pipermail/python-list/2005-January/300791.html

----------
nosy: +marketdickinson

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

Reply via email to