Re: [Python-Dev] Extended Buffer Protocol - simple use examples

2007-04-10 Thread Paul Moore
On 09/04/07, Travis Oliphant [EMAIL PROTECTED] wrote: I have skimmed (briefly, I'll admit!) the pre-PEP, but I've found it extremely difficult to find a simple example of the basic (in my view) use case of an undifferentiated block of bytes. This is a great suggestion and it was on my

[Python-Dev] Checking PEP autobuild results

2007-04-10 Thread Nick Coghlan
The PEP I checked in for Travis hasn't turned up on the website, despite building without warnings when I run pep2html.py. The changes I made to PEP 0 haven't turned up either. I thought the subversion commit hook for the PEPs folder caused the website to update automatically. Have I

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

2007-04-10 Thread Nick Coghlan
Carl Banks wrote: Another little mistake I made: looking at the Python source, it seems that most C defines do not use the Py_ prefix, so probably we shouldn't here. Sorry. Most of the #define's aren't exposed via Python.h and aren't part of the public C API. The public ones are meant to

Re: [Python-Dev] Checking PEP autobuild results

2007-04-10 Thread A.M. Kuchling
On Tue, Apr 10, 2007 at 07:58:02PM +1000, Nick Coghlan wrote: Have I forgotten a step in the process somewhere, or is something broken? Something's broken; I'm looking into it. --amk ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] HTTP responses and errors

2007-04-10 Thread Facundo Batista
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 conflic with this decission, I'll fix this. Nobody raised any objection, I'll

[Python-Dev] Changes to decimal.py

2007-04-10 Thread Raymond Hettinger
Now that the checkin is done, I don't think it needs to be reverted. But, in general, we should probably abstain from making wholesale revisions that add zero value for the users. The stylistic change from: ValueError, 'foo' ValueError('foo') is fine. Changing MockThreading to

Re: [Python-Dev] Checking PEP autobuild results

2007-04-10 Thread Brett Cannon
On 4/10/07, Nick Coghlan [EMAIL PROTECTED] wrote: The PEP I checked in for Travis hasn't turned up on the website, despite building without warnings when I run pep2html.py. The changes I made to PEP 0 haven't turned up either. I thought the subversion commit hook for the PEPs folder caused the

[Python-Dev] Py2.5.1 release candidate

2007-04-10 Thread Raymond Hettinger
It looks like the release candidate has been held-up for a bit. If it is going to stay held-up for a few days, can we unfreeze it so some bugfixes can go in (fixing the +0/-0 problem, eliminating some segfaults, and fixing some exception code)? Raymond

[Python-Dev] USE_FAST code in stringobject.c

2007-04-10 Thread Raymond Hettinger
Do any of the Iceland sprinters (Fredrik or Andrew perhaps) know why the USE_FAST section is segregated and whether it is supposed to be on or off by default? Raymond ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] Py2.5.1 release candidate

2007-04-10 Thread Martin v. Löwis
Raymond Hettinger schrieb: It looks like the release candidate has been held-up for a bit. If it is going to stay held-up for a few days, can we unfreeze it so some bugfixes can go in (fixing the +0/-0 problem, eliminating some segfaults, and fixing some exception code)? No, the release

[Python-Dev] Fwd: Re: Py2.5.1 release candidate

2007-04-10 Thread Raymond Hettinger
No, the release binaries are all produced, and just await upload. Woohoo! If it's an urgent issue, we need another RC. If it isn't urgent (e.g. not a regression relative to 2.5.0), I think it should wait for 2.5.2. (IMHO all, of course) These bug fixes will have to wait. Raymond

Re: [Python-Dev] Checking PEP autobuild results

2007-04-10 Thread A.M. Kuchling
On Tue, Apr 10, 2007 at 07:30:13AM -0400, A.M. Kuchling wrote: Something's broken; I'm looking into it. David Goodger found the problem and repaired it. It was nothing to do with the PEPs; another directory was causing the build process to stop with an error. --amk

Re: [Python-Dev] Changes to decimal.py

2007-04-10 Thread Facundo Batista
Raymond Hettinger wrote: As promised in the decimal.py header, the spec updates should all be considered as bugs and backported at some point after they are fully tested and we're happy with them all around. Also, as promised, the module should continue to run on Py2.3. Ok. So far, I'm

[Python-Dev] Fwd: Re: Changes to decimal.py

2007-04-10 Thread Raymond Hettinger
[Facundo Batista] The names, as the new functions will be discussed here in the second step. For example, I'm not absolute sure that something like... Decimal(1100).xor(Decimal(0110) Decimal(1010) ...is actually needed. It doesn't matter. We promise to offer a full impleme Raymond

Re: [Python-Dev] Py2.5.1 release candidate

2007-04-10 Thread Anthony Baxter
On Wednesday 11 April 2007 07:07, Martin v. Löwis wrote: Raymond Hettinger schrieb: It looks like the release candidate has been held-up for a bit. If it is going to stay held-up for a few days, can we unfreeze it so some bugfixes can go in (fixing the +0/-0 problem, eliminating some