CPython VM & byte code resources wanted

A

Aaron Gray

Hi,

I am looking to study the CPython source code, but I cannot seem to find the
VM code.
Also is there any where a detailed list of the opcodes ?

Many thanks in advance,

Aaron
 
A

Aaron Gray

Aaron Gray said:
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.

Thanks,

Aaron
 
S

Steve Holden

Steve said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top