Message265113
Following example causes a segmentation fault.
from decimal import Decimal
class BadFloat(float):
def as_integer_ratio(self):
return 1
def __abs__(self):
return self
Decimal.from_float(BadFloat(1.2)) |
|
Date |
User |
Action |
Args |
2016-05-08 05:13:47 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, facundobatista, mark.dickinson, skrah |
2016-05-08 05:13:47 | serhiy.storchaka | set | messageid: <1462684427.76.0.86950702335.issue26974@psf.upfronthosting.co.za> |
2016-05-08 05:13:47 | serhiy.storchaka | link | issue26974 messages |
2016-05-08 05:13:47 | serhiy.storchaka | create | |
|