Message 58288 - Python tracker
Message58288
| 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 | <1197074763.07.0.19725680361.issue1562@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-12-08 00:46:03 | mark.dickinson | set | spambayes_score: 0.0194107 -> 0.019410722 recipients: + mark.dickinson, facundobatista, christian.heimes, poelzi |
| 2007-12-08 00:46:03 | mark.dickinson | set | spambayes_score: 0.0194107 -> 0.0194107 messageid: <1197074763.07.0.19725680361.issue1562@psf.upfronthosting.co.za> |
| 2007-12-08 00:46:03 | mark.dickinson | link | issue1562 messages |
| 2007-12-08 00:46:02 | mark.dickinson | create | |