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 -- http://mail.python.org/mailman/listinfo/python-list