[issue2138] Factorial

Raymond Hettinger report at bugs.python.org
Mon Feb 18 23:40:59 CET 2008


Raymond Hettinger added the comment:

Since the domain and range are ints/longs, this makes more sense as a 
method on <type 'int'> than as a math module function.  The other math 
module functions mostly have real valued inputs and mostly have 
counterparts in cmath.  

IIRC, Tim wanted the math module to maintain that theme and not become 
a home to every function that seems a bit "mathematical". I share the 
sentiment -- it would be nice for the math module to retain its unified 
theme during its growth spurt.

----------
nosy: +rhettinger

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2138>
__________________________________


More information about the Python-bugs-list mailing list