Re: [Python-Dev] Re: Ye don't be needin' these!

2005-03-23 Thread Tim Lesher
On Wed, 23 Mar 2005 11:34:09 -0500, Terry Reedy <[EMAIL PROTECTED]> wrote: > > "Herman Toothrot" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Avast! Why be there builtins divmod and pow, when operators **, /, and % > > should be good enough for ya? It runs counter to TOOWTDI

[Python-Dev] Re: Ye don't be needin' these!

2005-03-23 Thread Terry Reedy
"Herman Toothrot" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Avast! Why be there builtins divmod and pow, when operators **, /, and % > should be good enough for ya? It runs counter to TOOWTDI, I be thinking. Questions like this should be asked on comp.lang.python or the py

[Python-Dev] Re: Ye don't be needin' these!

2005-03-23 Thread Robert Kern
Herman Toothrot wrote: Avast! Why be there builtins divmod and pow, when operators **, /, and % should be good enough for ya? It runs counter to TOOWTDI, I be thinking. Arr. Well, divmod(x, y) does both / and % in one shot, which can be very useful. pow(x, y[, z]) has an optional third argume