CPython VM & byte code resources wanted
Steve Holden
steve at holdenweb.com
Wed Apr 9 09:58:32 EDT 2008
Steve Holden wrote:
> Aaron Gray wrote:
>> "Aaron Gray" <ang.usenet at gmail.com> wrote in message
>> news:6622srF2e32hbU1 at mid.individual.net...
>>> Hi,
>>>
>>> I am looking to study the CPython source code, but I cannot seem to find
>>> the VM code.
>> Found it :)
>>
>> Python/ceval.c
>>
>>> Also is there any where a detailed list of the opcodes ?
>> Still could do with an opcodes chart.
>>
> Be sure and post it on the Wiki when you finish it ;-)
>
I was being a little too flip here. If you look in the "dis" module I
would imagine you will find what you seek, given that it's capable of
disassembling the byte codes
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list
mailing list