On Sep 22, 7:04 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Sat, 22 Sep 2007 21:17:38 +0000, Bryan Olson wrote: > > The operator module offers pow(). Is there any good reason for > > pow() as a built-in? > > The `operator.pow()` is just the function for ``**``, it lacks the > optional third argument of the built in `pow()`. > > Ciao, > Marc 'BlackJack' Rintsch
But does the three-argument version of pow() really belong in the core? Who uses it? It seems very much like a specialist's function to me: certainly it wouldn't be out of place in the standard library somewhere (perhaps a cryptography or number theory module), but in its three argument form it has to be one of the least used core functions. Richard -- http://mail.python.org/mailman/listinfo/python-list