This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | alanmcintyre |
|---|---|
| Recipients | alanmcintyre, dtorp |
| Date | 2008年02月18日.15:43:46 |
| SpamBayes Score | 0.021108702 |
| Marked as misclassified | No |
| Message-id | <1203349428.53.0.810579641877.issue2138@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
It seems like most of the methods on integers are for two-argument operations (add, mul, div, etc.), while a lot of single-argument operations are in the math module. If this gets added would it fit better as a function in the math module? I have to say a factorial function is something I've found myself writing several times, so I certainly wouldn't mind having one included. Yeah, it's a one-liner, but so is hypot, and that's already in the stdlib. And most calculators don't have a hypot button. ;) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年02月18日 15:43:48 | alanmcintyre | set | spambayes_score: 0.0211087 -> 0.021108702 recipients: + alanmcintyre, dtorp |
| 2008年02月18日 15:43:48 | alanmcintyre | set | spambayes_score: 0.0211087 -> 0.0211087 messageid: <1203349428.53.0.810579641877.issue2138@psf.upfronthosting.co.za> |
| 2008年02月18日 15:43:47 | alanmcintyre | link | issue2138 messages |
| 2008年02月18日 15:43:46 | alanmcintyre | create | |