Re: Py 2.6 changes

2008-09-02 Thread Chris Rebert
On Mon, Sep 1, 2008 at 6:02 PM, Mensanator <[EMAIL PROTECTED]> wrote: > On Sep 1, 6:55�pm, [EMAIL PROTECTED] wrote: >> Steven D'Aprano: >> >> > productory() -- I don't know that function, and googling mostly comes up >> > with retail product searches. Do you mean product(), >> >> Darn my English, y

Re: Py 2.6 changes

2008-09-01 Thread Mensanator
On Sep 1, 2:15�pm, [EMAIL PROTECTED] wrote: > I have just re-read the list of changes in Python 2.6, it's huge, > there are tons of changes and improvements, I'm really > impressed:http://docs.python.org/dev/whatsnew/2.6.html > > I'll need many days to learn all those changes! I can see it fixes >

Re: Py 2.6 changes

2008-09-01 Thread Mensanator
On Sep 1, 6:55�pm, [EMAIL PROTECTED] wrote: > Steven D'Aprano: > > > productory() -- I don't know that function, and googling mostly comes up > > with retail product searches. Do you mean product(), > > Darn my English, you are right, sorry, I meant a product() of > course :-) But the name product

Re: Py 2.6 changes

2008-09-01 Thread bearophileHUGS
Steven D'Aprano: > productory() -- I don't know that function, and googling mostly comes up > with retail product searches. Do you mean product(), Darn my English, you are right, sorry, I meant a product() of course :-) Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

Re: Py 2.6 changes

2008-09-01 Thread Steven D'Aprano
On Mon, 01 Sep 2008 12:15:53 -0700, bearophileHUGS wrote: > Now math has factorial: > http://docs.python.org/dev/library/math.html#math.factorial Seen how > reduce() is removed from Python 3 (I know it's in itertools), and seeing > that for me to write a productory() function was the first usage I

Re: Py 2.6 changes

2008-09-01 Thread Alan G Isaac
[EMAIL PROTECTED] wrote: Now math has factorial: http://docs.python.org/dev/library/math.html#math.factorial That's rather underdocumented. Does it really attempt exact calculation for arbitrary integers?? Is there any way to request a nice fast approximation for large integers (e.g., with Gos

Re: Py 2.6 changes

2008-09-01 Thread Christian Heimes
[EMAIL PROTECTED] wrote: I presume it's better for me to not hold my breath while I wait CPython to be written in C99 :-) First you have to convince Microsoft to release C99 compiler ... good luck! Christian -- http://mail.python.org/mailman/listinfo/python-list