I'd like to propose an addition to the for statement's syntax:
for {variable} in {iterable} if {condition}:
{block}
which is equivalent to
for {variable} in {iterable}:
if not {condition}:
continue
{block}
and
for {variable} in filter(lambda: {condition}, iterable):
.
If it is still wanted, could someone review it and give me feedback on it?
Thanks,
--
=
--Ryan E. Freckleton
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org
Hi
I just got accepted on the google summer of code to work on a project
for python. I just wanted to say hello to everyone out there as i know
i will end up asking a few questions before the summers over.
--
Ryan Kelley
NETS - University of Rhode Island Network Security
http://www.uri.edu
I'm currently revising a proposal for the Google Summer of Code, and it
was suggested that I start a thread here to get input. Apologies for the
length, but I wanted this to more than just a link to my proposal.
The short version of my proposal is: The module would provide a
system by which the
Apologies for the double post. Had my mail client misconfigured.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
201 - 205 of 205 matches
Mail list logo