Mark Dickinson added the comment:

I don't think it would be appropriate to add this as a method of int; 
it seems like unnecessary clutter on a core type.

Perhaps a math.factorial function could be considered?  Historically,
the math module has just been a way to wrap the (mostly floating-point)
libm functions, but I think that may be changing:  there's at least some
interest in putting gcd into the math module, for example.

David, any chance you could come up with a patch implementing
math.factorial?

----------
nosy: +marketdickinson

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2138>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to