Re: [Python-Dev] PEP 3118: Extended buffer protocol (new version)

2007-04-12 Thread Travis Oliphant
Carl Banks wrote: > > The thing that bothers me about this whole flags setup is that > different flags can do opposite things. > > Some of the flags RESTRICT the kind of buffers that can be > exported (Py_BUF_WRITABLE); other flags EXPAND the kind of buffers that > can be exported (Py_BUF_INDIRECT

Re: [Python-Dev] build problem on windows: unable to find getbuildinfo2.c

2007-04-12 Thread Martin v. Löwis
> I didn't find getbuildinfo2.c in the source. Can some one tell me if > I am missing some thing here? Are there any additional steps need to > follow on windows? It's a generated file. Search all build description files for that file name to find out how it is generated, and then research why g

Re: [Python-Dev] PEP 3118: Extended buffer protocol (new version)

2007-04-12 Thread Travis Oliphant
Lisandro Dalcin wrote: > On 4/9/07, Travis Oliphant <[EMAIL PROTECTED]> wrote: > > Travis, all this is far better and simpler than previous approaches... > Just a few comments Thanks for your wonderful suggestions. I've incorporated many of them. > > 1) I assume that 'bufferinfo' structure will b

Re: [Python-Dev] PEP 3118: Extended buffer protocol (new version)

2007-04-12 Thread Travis Oliphant
Neil Hodgson wrote: > Travis Oliphant: > >> PEP: 3118 >> ... > > I'd like to see the PEP include discussion of what to do when an > incompatible request is received while locked. Should there be a > standard "Can't do that: my buffer has been got" exception? I'm not sure what standard to make a d

Re: [Python-Dev] PEP 3118: Extended buffer protocol (new version)

2007-04-12 Thread Greg Ewing
Travis Oliphant wrote: > Because slicing NumPy array's already does it by holding on to a view, I > guess having an object that doesn't hold on to a view in Python but > "re-gets" it every time it is needed, would be useful. I guess this problem doesn't arise in NumPy, because the size of the m

Re: [Python-Dev] build problem on windows: unable to find getbuildinfo2.c

2007-04-12 Thread Brett Cannon
This is not the right list to ask for technical support. Please either ask some place like comp.lang.python or file a bug report. -Brett On 4/12/07, Raghuram Devarakonda <[EMAIL PROTECTED]> wrote: Hi, I am trying to build latest python on Windows XP and ran into the following error: "c1 : f

[Python-Dev] build problem on windows: unable to find getbuildinfo2.c

2007-04-12 Thread Raghuram Devarakonda
Hi, I am trying to build latest python on Windows XP and ran into the following error: "c1 : fatal error C1083: Cannot open source file: '.\getbuildinfo2.c': No such file or directory" I am using Visual C++ 2005 Express Edition to build. I opened "PCbuilld8/pcbuild.sln" and did a "release" buil

Re: [Python-Dev] RELEASED Python 2.5.1, release candidate 1

2007-04-12 Thread Terry Reedy
"Gustavo Tabares" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Open http://www.python.org/2.5/highlights.html | | The title of the page says "Highlights: Python 2.4" To be clear, it is not the heading/title *on* the page, which was changed, but the title *of* the page displaye

Re: [Python-Dev] Just saying hello

2007-04-12 Thread Aahz
On Wed, Apr 11, 2007, Ryan Kelley wrote: > > I just got accepted on the google summer of code to work on a project > for python. I just wanted to say hello to everyone out there as i know > i will end up asking a few questions before the summers over. Congrats! -- Aahz ([EMAIL PROTECTED])

Re: [Python-Dev] HTTP responses and errors

2007-04-12 Thread Jeremy Hylton
On 4/10/07, Facundo Batista <[EMAIL PROTECTED]> wrote: > Facundo Batista wrote: > > > Martin v. Löwis wrote: > > ... > > > >> think it should treat all 2xx responses as success. Callers can > >> then still check the response code themselves if they need to. > > > > The same I think. If nobody has a

Re: [Python-Dev] RELEASED Python 2.5.1, release candidate 1

2007-04-12 Thread Gustavo Tabares
Open http://www.python.org/2.5/highlights.html The title of the page says "Highlights: Python 2.4" On 4/12/07, A.M. Kuchling <[EMAIL PROTECTED]> wrote: On Wed, Apr 11, 2007 at 03:03:47PM -0400, Gustavo Tabares wrote: > The title for the highlights page also says Python 2.4 I've fixed the br

Re: [Python-Dev] RELEASED Python 2.5.1, release candidate 1

2007-04-12 Thread A.M. Kuchling
On Wed, Apr 11, 2007 at 03:03:47PM -0400, Gustavo Tabares wrote: > The title for the highlights page also says Python 2.4 I've fixed the broken download links that Thomas reported. I can't find the above error, though the bugs and license pages did have a 'Python 2.4.4' heading. --amk

[Python-Dev] [PATCH] pep 0324 URL update

2007-04-12 Thread Pádraig Brady
The old URL still works, but will probably not in the future. thanks, Pádraig. --- pep-0324.txt 2007-04-12 10:10:38.0 + +++ pep-0324.txt.new 2007-04-12 10:12:45.0 + @@ -535,7 +535,7 @@ [2] Python Dialog http://pythondialog.sourceforge.net/ -[3] http://w

Re: [Python-Dev] Python 2.5.1c1 pickle problem

2007-04-12 Thread Raymond Hettinger
Ralf, your issue is arising because of revision 53655 which fixes SF 1615701. Subclasses of builtins are pickled using obj.__reduce_ex__() which returns a tuple with a _reconstructor function and a tuple of arguments to that function. That tuple of arguments include the subclass name, the base cl