Re: [Python-Dev] conditional expressions - add parens?

2006-03-08 Thread Morel Xavier
Steve Holden wrote: > Contrast with the bleeding obvious: > > level = 0 > if "absolute_import" in self.futures: > level = -1 > > regards > Steve > The issue that spawned the necessity of a ternary operator in the first place was that this syntax is not usable at all in quit

Re: [Python-Dev] Let's just *keep* lambda

2006-02-06 Thread Morel Xavier
Guido van Rossum wrote: > After so many attempts to come up with an alternative for lambda, > perhaps we should admit defeat. I've not had the time to follow the > most recent rounds, but I propose that we keep lambda, so as to stop > wasting everybody's talent and time on an impossible quest. > T

Re: [Python-Dev] yield back-and-forth?

2006-01-25 Thread Morel Xavier
Christian Tanzer wrote: > How about: > > def main_generator(): > ... > yield * sub_generator() > > Ducking-ly yrs, > I like that one, but I'd stick the star to the generator (e.g. yield *sub_generator), the meaning being to "unpack" the generator into the yield, same as unpackin

[Python-Dev] Buildbot questions

2006-01-05 Thread Morel Xavier
states that many windows flavour would be appreciable and that Win2003 may not be extremely common), but i'd like to know how often it'll try to build, and how long the build itself may take on such a platform. Morel Xavier ___ Python-Dev ma