Message314084
Raymond: what are your thoughts on deprecating the ability of `math.factorial` to accept a float (as in `math.factorial(5.0)` -> `120`)?
For me, I'm not sure I see the value of the deprecation. It's the usual story: the answer to "Knowing what we know now, should we have done this differently in the first place" is "Probably, yes". But "Should we change the current behaviour" is a very different question. I'm tempted to see the acceptance of integral floats as a harmless quirk, and the deprecation of that behaviour as a case of gratuitous breakage. |
|
Date |
User |
Action |
Args |
2018-03-19 08:39:04 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, terry.reedy, facundobatista, serhiy.storchaka, John.Yeung |
2018-03-19 08:39:04 | mark.dickinson | set | messageid: <1521448744.11.0.467229070634.issue33083@psf.upfronthosting.co.za> |
2018-03-19 08:39:04 | mark.dickinson | link | issue33083 messages |
2018-03-19 08:39:03 | mark.dickinson | create | |
|