[Python-Dev] accumulator display syntax
Guido van Rossum
guido at python.org
Fri Oct 17 10:41:04 EDT 2003
I'd just like to pipe into this discussion saying that while Peter
Norvig's pre-PEP is neat, I'd reject it if it were a PEP; the main
reason that the proposed notation doesn't return a list. I agree that
having generator comprehensions would be a more general solution. I
don't have a proposal for generator comprehension syntax though, and
[yield ...] has the same problem.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list