Since being introduced in the language, generators (and their lesser cousins, list comprehensions) are finally making it into the community mindset. In the long term, I think that this change will have a lasting effect on the way we write Python programs.
In the beginning, Python was a conventional scripting language that happened to have a exceptionally clean syntax and a solid object model. So
↧