translating Python to Assembler

Tim Roberts timr at probo.com
Thu Jan 24 03:02:06 EST 2008


Bjoern Schliessmann <usenet-mail-0306.20.chr0n0ss at spamgourmet.com> wrote:

>Grant Edwards wrote:
>
>> Trying to find assembly language stuff to look at is futile.
>> Python doesn't get compiled into assembly language.
>
>So, how do processors execute Python scripts? :)

Is that a rhetorical question?  Grant is quite correct; Python scripts (in
the canonical CPython) are NOT compiled into assembly language.  Scripts
are compiled to an intermediate language.  Processors execute Python
scripts when the interpreter, written in a high-level language and compiled
to assembly, interprets the intermediate language created by the Python
"compiler".
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list