64k Instruction Limit ??

Stefan Migowsky smigowsky at dspace.de
Mon Jul 31 11:51:21 EDT 2000


Hi,

if got a script which defines a big tuple > 64k entries. 
After the tuple I define a for loop. 

The compile of this script causes a SystemError : com_addbyte out of range.

The reason for that is that the return instruction for the 
for loop is greater than 64k, which means that the inside
the com_addint function the hiword is greater than 255. 

Is there any way around this now or in future versions, other than 
to try to change the script layout until it compiles ?


   Stefan




More information about the Python-list mailing list