Heiko Wundram wrote:
Yes, of course. Read my replies to Terry J. Reed, to Josiah Carlton, to
Talin,
to see why I chose to compare it to the 'continue' syntax.
I saw them. Your brain must be wired very differently
to mine, because I find loops with a continue in them
harder to follow than
Heiko Wundram wrote:
You can also do the same here (by using normal bracketing):
for expr in (some
non-trivial
stuff) if (one expr and
two expr and
three expr):
So you want to be able to write the if
Heiko Wundram wrote:
Am Montag 22 Mai 2006 01:59 schrieb Josiah Carlson:
Not everyone finds list comprehensions easy to read.
Why has Python added list-comprehensions, then? (or at least, why has Python
added the 'if'-expression to list-comprehensions if they're hard to read?
LCs are
I saw them. Your brain must be wired very differently
to mine, because I find loops with a continue in them
harder to follow than ones without -- exactly the
opposite of what you seem to prefer.
Delurking for no particular reason:
For what it's worth, I also favor the continue syntax Heiko
Tim If there's no functionality changes, what would be the problem with
Tim putting it in post-alpha?
It still represents new code that may introduce new bugs. In theory (and
generally in practice for Python), once you move into the beta stage all you
do is fix bugs.
Skip
On 5/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Tim If there's no functionality changes, what would be the problem withTim putting it in post-alpha?It still represents new code that may introduce new bugs.In theory (andgenerally in practice for Python), once you move into the beta stage all
Niko Matsakis [EMAIL PROTECTED] wrote:
I saw them. Your brain must be wired very differently
to mine, because I find loops with a continue in them
harder to follow than ones without -- exactly the
opposite of what you seem to prefer.
Delurking for no particular reason:
For what
Heiko Wundram [EMAIL PROTECTED] wrote:
Why isn't this good practice? It's not always sensible to refactor loop code
to call methods (to make the loop body shorter), and it's a pretty general
case that you only want to iterate over part of a generator, not over the
whole content. Because of
Thomas Wouters wrote:
On 5/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Tim If there's no functionality changes, what would be the
problem with Tim putting it in post-alpha?
It still represents new code that may introduce new bugs. In theory
(and
generally in practice for
Niko Matsakis [EMAIL PROTECTED] wrote:
For what it's worth, I also favor the continue syntax Heiko compared
his code against. Without it, you have to scroll to the end of the
loop to know whether there is an else clause;
Only if the code doesn't fit on one screen, which it should.
--
Hi Skip,
Did you ever find Charles Waldman? We are looking for him too.
Monica
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
How long have you used Python? 10 years or longer? Please tell us how
you first heard of the language, how you first used it, and how you
helped develop it (if you did). More recent reminiscences are welcome
too!
Please add them to my blog:
http://www.artima.com/weblogs/viewpost.jsp?thread=161207
Phillip J. Eby wrote:
At 02:32 PM 4/28/2006 -0500, Ian Bicking wrote:
I'd like to include paste.lint with that as well (as wsgiref.lint or
whatever). Since the last discussion I enumerated in the docstring all
the checks it does. There's still some outstanding issues, mostly where
I'm not
This explains what to do, and which license to use:
http://www.python.org/psf/contrib/
--Guido
On 5/22/06, Ian Bicking [EMAIL PROTECTED] wrote:
Phillip J. Eby wrote:
At 02:32 PM 4/28/2006 -0500, Ian Bicking wrote:
I'd like to include paste.lint with that as well (as wsgiref.lint or
On 5/22/06, martin.v.loewis [EMAIL PROTECTED] wrote:
Author: martin.v.loewis
Date: Mon May 22 11:15:18 2006
New Revision: 46064
Modified: python/trunk/Include/Python.h
==
--- python/trunk/Include/Python.h
It's not clear to me whether this means that Ian can just relicense his
code for me to slap into wsgiref and thence into Python by virtue of my own
PSF contribution form and the compatible license, or whether it means Ian
has to sign a form too.
At 09:25 PM 5/22/2006 -0700, Guido van Rossum
16 matches
Mail list logo