[Python-Dev] PEP 289: Generator Expressions
Fred L. Drake, Jr.
fdrake at acm.org
Thu Oct 23 11:09:09 EDT 2003
Raymond Hettinger writes:
> Does this mean that "(x.a for x in mylist)" will initiatly be valid but
> will someday break? If so, I can't imagine why. Or does in mean that
> the induction variable can be in that form, "(x for x.a in mylist)".
> Surely, this would never be allowed.
The later. There's bound to be some seriously evil stuff out there,
just waiting to pop up... ;-)
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation
More information about the Python-Dev
mailing list