Re: [Python-3000] Python 3.0 Porting Strategies

2008-03-28 Thread Lennart Regebro
On Fri, Mar 28, 2008 at 5:33 AM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > For now, it's best to put this on the wiki. That will allow many > people to contribute. Yeah, but the code would be more practical in an svn. But some docs in the wiki would be a good idea. I'll see what I can do next w

Re: [Python-3000] Python 3.0 Porting Strategies

2008-03-28 Thread Christian Heimes
Eric Smith schrieb: > The only problem I see is that the __future__ import of unicode_literals > doesn't work in 3.0 yet. I'll look into fixing that. The __future__ import of unicode_literals was added to py3k 26 hours earlier: Author: christian.heimes Date: Wed Mar 26 23:34:47 2008 New Revisio

Re: [Python-3000] [Python-Dev] the release gods are angry at python

2008-03-28 Thread skip
Neal> Anything that connects to a remote host is definitely flaky. Would it maybe help to set up a dedicated host (or virtual host) to serve as the sole target of all network tests? Skip ___ Python-3000 mailing list Python-3000@python.org http://ma

Re: [Python-3000] Dict literal bytecode

2008-03-28 Thread Marcin ‘Qrczak’ Kowalczyk
Dnia 27-03-2008, Cz o godzinie 11:48 +1200, Greg Ewing pisze: > Tuples are created batchwise because, being immutable, > that's the only way to do it. But if set literals are > to produce mutable objects, there's no need for them > to be created batchwise, and doing so has unfortunate > stack size

Re: [Python-3000] [Python-Dev] the release gods are angry at python

2008-03-28 Thread Neal Norwitz
On Fri, Mar 28, 2008 at 3:31 AM, <[EMAIL PROTECTED]> wrote: > > Neal> Anything that connects to a remote host is definitely flaky. > > Would it maybe help to set up a dedicated host (or virtual host) to serve as > the sole target of all network tests? It would help, but not fix the problem.

Re: [Python-3000] Dict literal bytecode

2008-03-28 Thread Neal Norwitz
On Fri, Mar 28, 2008 at 9:46 AM, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> wrote: > Dnia 27-03-2008, Cz o godzinie 11:48 +1200, Greg Ewing pisze: > > > > Tuples are created batchwise because, being immutable, > > that's the only way to do it. But if set literals are > > to produce mutable ob

Re: [Python-3000] [Python-Dev] the release gods are angry at python

2008-03-28 Thread Bill Janssen
> On Fri, Mar 28, 2008 at 3:31 AM, <[EMAIL PROTECTED]> wrote: > > > > Neal> Anything that connects to a remote host is definitely flaky. > > > > Would it maybe help to set up a dedicated host (or virtual host) to serve > > as > > the sole target of all network tests? > > It would help, but

Re: [Python-3000] lambda

2008-03-28 Thread Jim Jewett
On 3/27/08, Neil Toronto <[EMAIL PROTECTED]> wrote: > Olivier Verdier wrote: > > On 26/03/2008, *Nick Coghlan* <[EMAIL PROTECTED] > > Lambda calculus is a > > well established field of mathematics, so it's a perfectly valid name > > for the construct. > > In my university in Swede

Re: [Python-3000] lambda

2008-03-28 Thread Bill Janssen
> As a human, it throws me off -- and so does lambda. Much better to just wr= > ite > > def _square(x): return x**2 > map(square, lst) > Excellent illustration of why you want lambda: no need to keep two more or less meaningless symbol names in sync, in a language which doesn't provide

Re: [Python-3000] Dict literal bytecode

2008-03-28 Thread Greg Ewing
Marcin ‘Qrczak’ Kowalczyk wrote: > What about lists? I guess (haven't checked) that they are made like > tuples. I always thought they were built one item at a time, but I was wrong (see below). So there doesn't seem to be much logic or consistency here at all. >>> def f(): ... x = [1,2,3] ...

Re: [Python-3000] [Python-Dev] the release gods are angry at python

2008-03-28 Thread Jeffrey Yasskin
On Fri, Mar 28, 2008 at 11:15 AM, Bill Janssen <[EMAIL PROTECTED]> wrote: > > On Fri, Mar 28, 2008 at 3:31 AM, <[EMAIL PROTECTED]> wrote: > > > > > > Neal> Anything that connects to a remote host is definitely flaky. > > > > > > Would it maybe help to set up a dedicated host (or virtual h

Re: [Python-3000] Dict literal bytecode

2008-03-28 Thread Terry Reedy
"Greg Ewing" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Marcin ‘Qrczak’ Kowalczyk wrote: > What about lists? I guess (haven't checked) that they are made like > tuples. I always thought they were built one item at a time, but I was wrong (see below). So there doesn't seem to be

Re: [Python-3000] Dict literal bytecode

2008-03-28 Thread Terry Reedy
"Greg Ewing" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Marcin ‘Qrczak’ Kowalczyk wrote: > What about lists? I guess (haven't checked) that they are made like > tuples. I always thought they were built one item at a time, but I was wrong (see below). So there doesn't seem to be

[Python-3000] Exception tracebacks living too long in 3.0

2008-03-28 Thread Jeffrey Yasskin
If you apply the following patch to the py3k branch, you can watch test_threading fail in test_no_refcycle_through_target: Index: Lib/threading.py === --- Lib/threading.py(revision 62033) +++ Lib/threading.py(working copy) @@