[Python-Dev] [ANN] VPython 0.1

Jakob Sievers cadr4u at gmail.com
Sun Oct 26 08:08:18 CET 2008


"Phillip J. Eby" <pje at telecommunity.com> writes:

> At 10:47 AM 10/24/2008 +0200, J. Sievers wrote:
>>  - Right now, CPython's bytecode is translated to direct threaded code
>>  lazily (when a code object is first evaluated). This would have to
>>  be merged into compile.c in some way plus some assorted minor changes.
>
> Don't you mean codeobject.c?  I don't see how the compiler relates, as
> Python programs can generate or transform bytecode.  (For example,
> Zope's Python sandboxing works that way.)
>

Also good :).
(I was thinking about the superinstruction selection code which should
perhaps go into optimize_code() since it's a kind of peephole
optimization. The bytecodes->addresses part might even stay in ceval.c
I guess).

-jakob



More information about the Python-Dev mailing list