RELEASED Python 2.4, alpha 1

Anthony Baxter anthonybaxter at gmail.com
Mon Jul 12 06:55:40 EDT 2004


> Uhm ... I see generator expressions have late bindings, just as list comprehensions:

I think you'll find if you check the PEP that this is the decision of the BDFL.

The feeling was that early binding was too different and would lead to
more confusion than late binding. While late binding can give suprising
results if you're not aware of it, it is at least consistent with other language
features (such as lambdas and list comps)

Anthony



More information about the Python-list mailing list