[Python-Dev] PEP 289: Generator Expressions
Guido van Rossum
guido at python.org
Mon Oct 27 18:10:05 EST 2003
More information about the Python-Dev mailing list
Mon Oct 27 18:10:05 EST 2003
- Previous message: [Python-Dev] PEP 289: Generator Expressions
- Next message: [Python-Dev] PEP 289: Generator Expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Overall the pep is being well received. The discussion has been > uncontentious and light (around 50-55 posts). Great! > There was occasional discussion about the parentheses requirement but > that was quickly settled also. One idea that had some merit was to not > require the outer parentheses for a single expression on the rhs of an > assignment: > > g = (x**2 for x in range(10)) # maybe the outer parens are not needed I really think they should be required. The 'for' keyword feels like it has a lower "priority" than the assignment operator. --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] PEP 289: Generator Expressions
- Next message: [Python-Dev] PEP 289: Generator Expressions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list