64k Instruction Limit ??

Jeremy Hylton jeremy at beopen.com
Mon Jul 31 13:58:13 EDT 2000


Stefan Migowsky <smigowsky at dspace.de> writes:

> 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.


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

I expect this will be fixed in Python 2.0.  Charles Waldman has a
patch to fix it.  I believe there is still some discussion about how
exactly to fix it, but not about whether to fix it.

Jeremy

-- Jeremy Hylton <http://www.python.org/~jeremy/>



More information about the Python-list mailing list