The approach chrisseaton describes is generally only feasible if you're implementing a Futamura projection à la PyPy or Truffle.
That said, it's only a matter of time before a high-performance Python pops up on Truffle and JITs extensions like RubyTruffle.