Wow, I've never seen that before. I'm also not sure I'd say a solution that uses bytecode rewriting is really working within the language, but that's a pretty interesting package anyhow.
Python itself does varying degrees of bytecode optimisation depending on which version you're using.