Message416041
> How would it work for bool or IntEnum?
Neither subclass the Integral abc.
The constraint (for which I care about) is: numerator/denominator should have same types. The default implementation, which I propose: it's the same type as the given Integral implementation. |
|
Date |
User |
Action |
Args |
2022-03-26 06:10:09 | Sergey.Kirpichev | set | recipients:
+ Sergey.Kirpichev, lemburg, rhettinger, terry.reedy, mark.dickinson, stutzbach, serhiy.storchaka |
2022-03-26 06:10:09 | Sergey.Kirpichev | set | messageid: <1648275009.19.0.108008095243.issue47079@roundup.psfhosted.org> |
2022-03-26 06:10:09 | Sergey.Kirpichev | link | issue47079 messages |
2022-03-26 06:10:09 | Sergey.Kirpichev | create | |
|