Message368319
Thanks for the effort, but I'm rejecting this. The language deliberately defines nothing about how these are calculated. It defines how `.ratio()` is computed, but that's all. An implementation is free to do whatever it likes for the "quick" versions, provided only they return upper bounds on `.ratio()`. Indeed, it's perfectly fine if an implementation merely returns 1.0 for both, regardless of the arguments.
If an implementation is cleverer than that, great, that's fine too - but it would be actively counterproductive to constrain them to be no _more_ clever than the current implementations. |
|
Date |
User |
Action |
Args |
2020-05-07 01:21:37 | tim.peters | set | recipients:
+ tim.peters, docs@python, Lewis Ball |
2020-05-07 01:21:37 | tim.peters | set | messageid: <1588814497.09.0.549082760115.issue40539@roundup.psfhosted.org> |
2020-05-07 01:21:37 | tim.peters | link | issue40539 messages |
2020-05-07 01:21:36 | tim.peters | create | |
|