Message349536
Currently, the fractions.Fraction constructor accepts an .as_integer_ratio() method only for the specific types "float" and "Decimal". It would be good to support this for arbitrary classes.
This is part of what was proposed in #37822, but without adding the math.operator() function. |
|
Date |
User |
Action |
Args |
2019-08-13 09:41:19 | jdemeyer | set | recipients:
+ jdemeyer, rhettinger, mark.dickinson, stutzbach, serhiy.storchaka |
2019-08-13 09:41:19 | jdemeyer | set | messageid: <1565689279.74.0.17922836333.issue37836@roundup.psfhosted.org> |
2019-08-13 09:41:19 | jdemeyer | link | issue37836 messages |
2019-08-13 09:41:19 | jdemeyer | create | |
|