I added a page to wiki.python.org:
http://wiki.python.org/moin/CPythonVmInternals
This incorporates most of Martin v. Löwis's additions (except for a
few bits which
I need to look into more).
In any case, thanks for the feedback!
Cheers,
-jakob
___
Py
Martin v. Löwis wrote:
Jakob,
This looks fairly correct. A few comments below.
Control Flow
The calling sequence is:
main() (in python.c) -> Py_Main() (main.c) -> PyRun_FooFlags() (pythonrun.c) ->
run_bar() (pythonrun.c) -> PyEval_EvalCode() (ceval.c) -> PyEval_EvalCodeEx()
(ce
Jakob,
This looks fairly correct. A few comments below.
> Control Flow
>
> The calling sequence is:
> main() (in python.c) -> Py_Main() (main.c) -> PyRun_FooFlags() (pythonrun.c)
> ->
> run_bar() (pythonrun.c) -> PyEval_EvalCode() (ceval.c) -> PyEval_EvalCodeEx()
> (ceval.c) -> PyEv
Jakob Sievers wrote:
Hi,
I've been reading the Python VM sources over the last few afternoons and
I took some notes, which I thought I'd share (and if anyone familiar
with the VM internals could have a quick look at them, I'd really
appreciate it).
This is the CPython VM. Other implementatio