Message95015
In the following case, Decimal() and int() behave differently. I wonder
if this is intentional:
>>> from decimal import *
>>> x = Decimal(2)
>>> y = Decimal(x)
>>> id(x) == id(y)
False
>>>
>>> x = int(2)
>>> y = int(x)
>>> id(x) == id(y)
True
>>> |
|
Date |
User |
Action |
Args |
2009-11-07 09:51:28 | skrah | set | recipients:
+ skrah, mark.dickinson |
2009-11-07 09:51:28 | skrah | set | messageid: <1257587488.65.0.148889938106.issue7278@psf.upfronthosting.co.za> |
2009-11-07 09:51:27 | skrah | link | issue7278 messages |
2009-11-07 09:51:26 | skrah | create | |
|