[Python-Dev] Weekly Python Patch/Bug Summary

2004-12-01 Thread Kurt B. Kaiser
Patch / Bug Summary ___ Patches : 258 open ( +4) / 2701 closed ( +1) / 2959 total ( +5) Bugs: 812 open (+28) / 4642 closed (+13) / 5454 total (+41) RFE : 160 open ( +4) / 136 closed ( +1) / 296 total ( +5) New / Reopened Patches __ #1074261

RE: [Python-Dev] adding key argument to min and max

2004-12-01 Thread Raymond Hettinger
> -Original Message- > From: [EMAIL PROTECTED] [mailto:python-dev- > [EMAIL PROTECTED] On Behalf Of Steven Bethard > Sent: Wednesday, December 01, 2004 4:04 PM > To: [EMAIL PROTECTED] > Subject: [Python-Dev] adding key argument to min and max > > This is my first post to Python dev, so I

Re: [Python-Dev] adding key argument to min and max

2004-12-01 Thread Guido van Rossum
> > I don't want to put words into your mouth, so is this a vote against a > > key= argument for min and max? > > Right. I don't think there is any need. Hm, min and max are probably needed 2-3 orders of magnitude more frequently than nsmallest/nlargest. So I think it's reasonable to add the key

RE: [Python-Dev] adding key argument to min and max

2004-12-01 Thread Raymond Hettinger
> I don't want to put words into your mouth, so is this a vote against a > key= argument for min and max? Right. I don't think there is any need. > If nsmallest/nlargest get key= arguments, this would definitely cover > the same cases. Right. > If a key= argument gets vetoed for min and ma

Re: [Python-Dev] adding key argument to min and max

2004-12-01 Thread Steven Bethard
Raymond Hettinger <[EMAIL PROTECTED]> wrote: > [Steven Bethard] > > For Python 2.5, I'd like to add a keyword argument 'key' to min and > > max like we have now for list.sort and sorted. > . . . > > This means that a 'key' > > argument can *only* be specified as a keyword parameter, thus giving >

RE: [Python-Dev] adding key argument to min and max

2004-12-01 Thread Raymond Hettinger
[Steven Bethard] > For Python 2.5, I'd like to add a keyword argument 'key' to min and > max like we have now for list.sort and sorted. . . . > This means that a 'key' > argument can *only* be specified as a keyword parameter, thus giving > us the asymmetry we see in these examples. FWIW, in Py2

Re: [Python-Dev] adding key argument to min and max

2004-12-01 Thread Phillip J. Eby
At 02:03 PM 12/1/04 -0700, Steven Bethard wrote: Is it okay to have a parameter that is *only* accessable as a keyword parameter? Yes. ___ Python-Dev mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://ma

Re: [Python-Dev] TRUNK UNFROZEN; release24-maint branch has been cut

2004-12-01 Thread Brett C.
Anthony Baxter wrote: I've cut the release24-maint branch, and updated the Include/patchlevel.h on trunk and branch (trunk is now 2.5a0, branch is 2.4+) The trunk and the branch are now both unfrozen and suitable for checkins. The feature freeze on the trunk is lifted. Remember - if you're checking

[Python-Dev] adding key argument to min and max

2004-12-01 Thread Steven Bethard
This is my first post to Python dev, so I figured I should introduce myself. My name's Steven Bethard and I'm a computer science Ph.D. student at the University of Colorado at Boulder working primarily in the areas of natural language processing and machine learning. During my undergrad at the Un

Re: [Python-Dev] Roster Deadline

2004-12-01 Thread Aahz
On Tue, Nov 30, 2004, Tim Hochberg wrote: > > Hi Larry, > > FYI: I asked EB about the roster deadline and she says that she doesn't > know when it is either. Checking on the Lei Out web page didn't help > much either. > > So, you are no wiser now than at the start of this message. We're even l

Re: [Python-Dev] MS VC compiler versions

2004-12-01 Thread Trent Mick
M.-A. Lemburg wrote: Preparing for the distutils patch to allow building extensions using the .NET SDK compilers, I am compiling a list of version numbers and MS compiler logo outputs in order to use these to identify the correct compiler to use for the extensions. These are the compilers I have fo

Re: [Python-Dev] Trouble installing 2.4

2004-12-01 Thread Thomas Heller
"Andrew Koenig" <[EMAIL PROTECTED]> writes: > Follow-up: When I install Python as Administrator, all is well. In that > case (but not when installing it as me), it asks whether I want to install > it for all users or for myself only. I then install pywin32 and it works. > > So it may be that a

Re: [Python-Dev] MS VC compiler versions

2004-12-01 Thread Hye-Shik Chang
On Wed, 01 Dec 2004 16:10:10 +0100, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > Could you please provide me with more version numbers and logo > printouts ? > * MS Windows XP DDK (International version, optimizing VC 7.0): Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9176 for 80x8

[Python-Dev] MS VC compiler versions

2004-12-01 Thread M.-A. Lemburg
Preparing for the distutils patch to allow building extensions using the .NET SDK compilers, I am compiling a list of version numbers and MS compiler logo outputs in order to use these to identify the correct compiler to use for the extensions. These are the compilers I have found so far: * MS VC6

Re: [Python-Dev] Re: Small subprocess patch

2004-12-01 Thread Anthony Baxter
On Wednesday 01 December 2004 09:00, Peter Astrand wrote: > I'm also wondering if patch 1071755 and 1071764 should go into > release24-maint: > > * 1071755 makes subprocess raise TypeError if Popen is called with a > bufsize that is not an integer. Since this isn't changing anything that's user fa

[Python-Dev] Difflib modifications [reposted]

2004-12-01 Thread Christian Robottom Reis
[Reposted to python-dev!] Hello there, We've has done some customizations to difflib to make it work well with pagetests we are running on a project at Canonical, and we are looking for some guidance as to what's the best way to do them. There are some tricky bits that have to do with how th

Re: [Python-Dev] File encodings

2004-12-01 Thread M.-A. Lemburg
Gustavo Niemeyer wrote: [...] The idiom presented by Bob is the right way to go: wrap sys.stdout with a StreamWriter. I don't see that as a good solution, since every Python software that is internationalizaed will have do figure out this wrapping, introducing extra overhead unnecessarily. I don't