PDF parser

Christopher T King squirrel at WPI.EDU
Fri Jul 30 08:50:54 EDT 2004


On Fri, 30 Jul 2004, Christian Tismer wrote:

> With Bytecodehacks, I can make Psyco support generators,
> by applying code transformations which turn the yield
> statement into something different, but semantical
> identical.
> The goal is to have things both fast and nicely readable.

Wouldn't the ideal solution be to make Psyco support generators natively?

Correct me if I'm wrong, but wouldn't that amount to no more than some C
stack trickery (i.e. pop the stack used by the current function, store it
& the current IP into the generator structure, return to caller)?




More information about the Python-list mailing list