Message244375
> While we're on the subject, though, trying to convert a very large int to float fails with an OverflowError. Perhaps Decimal should do the same?
I've always viewed float() as a cast. For casting Decimal's behavior
seems to be the right one to me.
If we go ahead with implicit casts for isclose(), I still think
the PEP's non-float section should be changed: It sounds as if
native support was planned for Decimal.
Does someone have the tracker id of Chris? |
|
Date |
User |
Action |
Args |
2015-05-29 13:33:04 | skrah | set | recipients:
+ skrah, rhettinger, paul.moore, mark.dickinson, ncoghlan, scoder, taleinat, stutzbach |
2015-05-29 13:33:04 | skrah | set | messageid: <1432906384.24.0.850861474037.issue24270@psf.upfronthosting.co.za> |
2015-05-29 13:33:04 | skrah | link | issue24270 messages |
2015-05-29 13:33:03 | skrah | create | |
|