[Python-Dev] Helpers for dynamic bytecode generation