[Python-3000] Simplifying the copy protocol

2008-06-08 Thread Alexandre Vassalotti
Hello all, I would like to propose to following simplifications to the copy protocol (a.k.a the __reduce__ method): - Remove the type.__reduce_ex__ method and define __reduce__ method to take a single optional integer argument that is the pickle protocol version to use. And since this already t

[Python-3000] Install on Vista / AMD64 AthlonX2 platform

2008-06-08 Thread Hugh Pittman
I have been unable to install 3.0a5 on a Vista / AMD64 platform. I downloaded the amd64 3.0a5 installer and I have tried various ideas but always find that Vista complains that 'Installation package could not be opened'. I would be grateful for instruction from anyone who has done this. Cheers,

Re: [Python-3000] Install on Vista / AMD64 AthlonX2 platform

2008-06-08 Thread Benjamin Peterson
Hi Hugh, A better place to ask this would be the comp.lang.python newsgroup. On Fri, Jun 6, 2008 at 3:07 PM, Hugh Pittman <[EMAIL PROTECTED]> wrote: > I have been unable to install 3.0a5 on a Vista / AMD64 platform. > I downloaded the amd64 3.0a5 installer and I have tried various ideas but > alw

Re: [Python-3000] Install on Vista / AMD64 AthlonX2 platform

2008-06-08 Thread Martin v. Löwis
> I have been unable to install 3.0a5 on a Vista / AMD64 platform. I > downloaded the amd64 3.0a5 installer and I have tried various ideas > but always find that Vista complains that 'Installation package could > not be opened'. Please run "msiexec /i /l*v log.txt", and report what kind of error

Re: [Python-3000] [Python-Dev] Stabilizing the C API of 2.6 and 3.0

2008-06-08 Thread Gregory P. Smith
On Fri, Jun 6, 2008 at 2:19 AM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > On 2008-06-03 01:29, Gregory P. Smith wrote: > >> On Mon, Jun 2, 2008 at 4:09 PM, Guido van Rossum <[EMAIL PROTECTED]> >> wrote: >> >> I will freely admit that I haven't followed this thread in any detail, >>> but if it we

Re: [Python-3000] PEP 3101 str.format() equivalent of '%#o/x/X'?

2008-06-08 Thread Nick Coghlan
Eric Smith wrote: Nick Coghlan wrote: This sort of surprised me when I was writing tests. Even after having implemented it, I was expecting "-#x" to work, but it needs to be "#-x". If you can implement it either way, then after the sign character is probably the way to go (as Bruce pointed o