Re: [Python-Dev] Conditional Expression Resolution

2005-09-30 Thread Brett Cannon
On 9/29/05, Guido van Rossum <[EMAIL PROTECTED]> wrote: [SNIP] > Flames, pleas to reconsider, etc., to /dev/null. > > Congratulations gracefully accepted. > And gladly given! All proposals should be resolved this cleanly in the end. > It's still my language! :-) > Yes it is, thank goodness! -

Re: [Python-Dev] Conditional Expression Resolution

2005-09-30 Thread Tim Peters
[Guido] > After a long discussion I've decided to add a shortcut conditional > expression to Python 2.5. > > The syntax will be > >A if C else B ... > The priorities will be such that you can write > > ... > x = A if C else B if D else E I assume this groups as A if C else (B if D el

Re: [Python-Dev] Conditional Expression Resolution

2005-09-30 Thread Steve Holden
Barry Warsaw wrote: > On Thu, 2005-09-29 at 21:21, Guido van Rossum wrote: > > >>Flames, pleas to reconsider, etc., to /dev/null. >> >>Congratulations gracefully accepted. >> >>It's still my language! :-) > > > Congratulations! May this be as successful a syntax addition as > decorators and pr

Re: [Python-Dev] Conditional Expression Resolution

2005-09-30 Thread Barry Warsaw
On Thu, 2005-09-29 at 21:21, Guido van Rossum wrote: > Flames, pleas to reconsider, etc., to /dev/null. > > Congratulations gracefully accepted. > > It's still my language! :-) Congratulations! May this be as successful a syntax addition as decorators and print>> (of which I'm a fan too! :).

Re: [Python-Dev] Conditional Expression Resolution

2005-09-30 Thread Paul Moore
On 9/30/05, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Flames, pleas to reconsider, etc., to /dev/null. No flames from here. > Congratulations gracefully accepted. Consider them supplied. For both your patience, and for supplying the decision we all desperately needed. > It's still my langua

Re: [Python-Dev] Conditional Expression Resolution

2005-09-30 Thread Nick Coghlan
Guido van Rossum wrote: > Congratulations gracefully accepted. Hurrah! Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia --- http://boredomandlaziness.blogspot.com

Re: [Python-Dev] Conditional Expression Resolution

2005-09-29 Thread Christian Tismer
Guido van Rossum wrote: ... > Flames, pleas to reconsider, etc., to /dev/null. > > Congratulations gracefully accepted. Congratulations for a clear decision! Personally, I would have preferred a "no, never in my life" alternative response slightly more, but a clear say is better than endless d

Re: [Python-Dev] Conditional Expression Resolution

2005-09-29 Thread Delaney, Timothy (Tim)
Guido van Rossum wrote: > Congratulations gracefully accepted. Whilst I'm not personally fond of the syntax, congratulations. Whilst I don't feel this is a big step in the evolution of the language, it shuts up a *very* frequently asked question (and opens up a new one ;) Tim Delaney ___

Re: [Python-Dev] Conditional Expression Resolution

2005-09-29 Thread Steven Bethard
On 9/29/05, Guido van Rossum wrote: > After a long discussion I've decided to add a shortcut conditional > expression to Python 2.5. > > The syntax will be > > A if C else B > [snip] > > Congratulations gracefully accepted. Congratulations, and many thanks for making this decision before the t

Re: [Python-Dev] Conditional Expression Resolution

2005-09-29 Thread Raymond Hettinger
> How about this: > Can someone update the PEP on conditional expressions to point to > this email and update the status, etc? Already done. Raymond ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev

Re: [Python-Dev] Conditional Expression Resolution

2005-09-29 Thread Neal Norwitz
On 9/29/05, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > Flames, pleas to reconsider, etc., to /dev/null. > > Congratulations gracefully accepted. > > It's still my language! :-) I don't like those options. :-) How about this: Can someone update the PEP on conditional expressions to point to

[Python-Dev] Conditional Expression Resolution

2005-09-29 Thread Guido van Rossum
After a long discussion I've decided to add a shortcut conditional expression to Python 2.5. The syntax will be A if C else B This first evaluates C; if it is true, A is evaluated to give the result, otherwise, B is evaluated to give the result. The priorities will be such that you can writ