ANN compiler2 : Produce bytecode from Python 2.5 Abstract Syntax Trees

"Martin v. Löwis" martin at v.loewis.de
Sun Oct 29 00:31:50 CEST 2006


sébastien martini schrieb:
> I don't know if it can hide some bugs or if the module has just never
> been updated to support this bytecode but LIST_APPEND is never emitted.
> In the module compiler, list comprehensions are implemented without
> emitting this bytecode, howewer the current implementation seems to be
> correct from syntax and execution point of view.

It's probably a matter of personal taste, but I think the compiler
library should perform the same way as the builtin compiler - except
that it might be "better" in some cases.

So feel free to report this as a bug at sf.net/projects/python.

Regards,
Martin



More information about the Python-list mailing list