News for hackers. Stuff that matters.
Re:Python Generator Tricks by adambyrtek on Thursday September 30, 2010 @12:55PM (#1743929)
The article is from 2004, so it doesn't mention modern features like generator expressions, context managers or co-routines (PEP 342). I suspect it was upvoted so much mostly because of the SICP reference.
Re:Python Generator Tricks by gkelly on Thursday September 30, 2010 @02:51PM (#1744369)
It's also importing from __future__, which isn't necessary anymore.