Re: [Python-Dev] Product function patch [issue 1093]

2007-09-03 Thread skip
>> At one time Guido mentioned adding a built-in product() function to >> cover some of the remaining use cases of the built-in reduce(). Martin> What is the use case for product()? As I recall, there were basically two uses of reduce(), to sum a series or (less frequently) to take t

Re: [Python-Dev] Product function patch [issue 1093]

2007-09-03 Thread Guido van Rossum
Actually, if you use Google code search, you'll find that multiplying the numbers in a list doesn't have much use at all. After summing numbers, joining strings is by far the most common usage -- which is much better done with the str.join() method. (PS. I rejected the issue; product() was propose

[Python-Dev] Roundup issue mails "Do not thread!"

2007-09-03 Thread O.R.Senthil Kumaran
Hi all, Has anyone observed missing "email-threads" issue with Roundup bug tracker email? Any work around for that? I use mutt and find that roundup bug issue000xx mails are not being threaded. Its not do with settings, I believe. The issue000xxx emails might not being have In-Reply-To or

[Python-Dev] Porting information

2007-09-03 Thread Ty Newton
Hi, I'm looking into porting CPython to native C# (not like IronPython) so that it can be used in game software on the XBox360: integrated with the indie development tool XNA Game Studio Express. I am looking for some guidance on how to approach this in the most effective way. I've started by

Re: [Python-Dev] Product function patch [issue 1093]

2007-09-03 Thread Greg Ewing
Ryan Freckleton wrote: > At one time Guido mentioned adding a built-in product() function to > cover some of the remaining use cases of the built-in reduce(). Speaking of such things, I was thinking the other day that it might be useful to have somewhere in the stdlib a full set of functions for d

Re: [Python-Dev] Roundup issue mails "Do not thread!"

2007-09-03 Thread Martin v. Löwis
> The issue000xxx emails might not being have In-Reply-To or References: header. If messages are entered through the web interface, they won't have these headers. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/m

Re: [Python-Dev] Roundup issue mails "Do not thread!"

2007-09-03 Thread O.R.Senthil Kumaran
* "Martin v. L?wis" <[EMAIL PROTECTED]> [2007-09-04 04:21:25]: > > The issue000xxx emails might not being have In-Reply-To or References: > > header. > > If messages are entered through the web interface, they won't have these > headers. Then I should file a bug/feature request for Roundup. How

Re: [Python-Dev] Product function patch [issue 1093]

2007-09-03 Thread Guido van Rossum
On 9/3/07, Greg Ewing <[EMAIL PROTECTED]> wrote: > Speaking of such things, I was thinking the other day > that it might be useful to have somewhere in the stdlib > a full set of functions for doing elementwise operations > and reductions on the built-in array type. > > This would make it possible

Re: [Python-Dev] Roundup issue mails "Do not thread!"

2007-09-03 Thread Martin v. Löwis
> Then I should file a bug/feature request for Roundup. Please consider what you are asking for. How precisely should roundup set the In-reply-to header? It won't know what message this is a reply to, or whether it is a reply at all. > How are others keeping track? Whenever I open an issue after

Re: [Python-Dev] Porting information

2007-09-03 Thread Martin v. Löwis
> I've started by looking at the parser portion of the code. However I am > not certain this is the best place to start. Since there are so many > ports I assume there is a well trodden path to completing this kind of > task. I believe this assumption is wrong. There are not many ports, only