Message313791
Actually numbers.Rational is a virtual base class for int, so it won't automagically appear there.
Adding it to the math module is inferior because for non-rational types (e.g. alternative float implementations) the math module won't have the knowledge about internals to implement it -- and casting to float() would defeat the purpose. |
|
| Date |
User |
Action |
Args |
| 2018-03-13 22:31:40 | gvanrossum | set | recipients:
+ gvanrossum, tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, Nofar Schnider |
| 2018-03-13 22:31:40 | gvanrossum | set | messageid: <[email protected]> |
| 2018-03-13 22:31:40 | gvanrossum | link | issue33073 messages |
| 2018-03-13 22:31:40 | gvanrossum | create | |
|