translating Python to Assembler

Albert van der Horst albert at spenarnc.xs4all.nl
Sun Feb 3 17:57:56 EST 2008


In article <qs0lp39tl2e7tr3ljga5f42oc9k41lj2k3 at 4ax.com>,
 <over at thepond.com> wrote:

 <SNIP>

>
>Once a python py file is compiled into a pyc file, I can disassemble
>it into assembler. Assembler is nothing but codes, which are
>combinations of 1's and 0's. You can't read a pyc file in a hex
>editor, but you can read it in a disassembler. It doesn't make a lot
>of sense to me right now, but if I was trying to trace through it with
>a debugger, the debugger would disassemble it into assembler, not
>python.

You know that python byte code is portable across architectures.

So you are disassembling using an Intel disassembler?
How can that make sense if you are on a SUN work station with a
non-Intel processor?

Groetjes Albert

--
-- 
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- like all pyramid schemes -- ultimately falters.
albert at spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst




More information about the Python-list mailing list