"Phillip J. Eby" <[EMAIL PROTECTED]> 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

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to