Too Many if Statements?

Terry Reedy tjreedy at udel.edu
Sat Feb 11 15:40:49 EST 2006


"Steve Holden" <steve at holdenweb.com> wrote in message 
news:dsid2f$b99$1 at sea.gmane.org...
> Clearly it would be a good idea to remove whatever problem is causing
> the error,

The problem (see my post of the com_backpatch code) is writing a compound 
statement (here a for loop) with a body so large as to require a jump of 
more than 64K bytes in the compiled bytecode (ie, from the test at the top 
of the loop to the code that follows after the loop).  Until the jump limit 
is raised (likely a long wait ;-), the OP must factor some of the code out 
of the loop.

Terry Jan Reedy








More information about the Python-list mailing list