News for hackers. Stuff that matters.
Re:Show HN: Lazy evaluation in Python by ssanderson11235 on Monday March 02, 2015 @01:38PM (#9133468)
This is really cool. The AST transformation stuff here is neat, but relatively well-trodden ground.

The more impressive new science here is the lazy_function decorator, which is implemented as a bytecode transformer on the code object that lives inside the decorated function. The author built his own library for the bytecode stuff, which lives here: https://github.com/llllllllll/codetransformer.

There are no comments on this comment yet.