max length of a python program

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Thu Aug 21 13:34:11 EDT 2003


On Thu, 21 Aug 2003 17:25:51 GMT, rumours say that "Andrew Dalke"
<adalke at mindspring.com> might have written:

>Many years ago there was a limit of 64K lines, because of how
>the line number opcode worked in Python.  Only machine
>generated Python code ever ran into that limit.

What is the width of JUMP opcode offsets?  If it is 16 bit, is there a
chance that someday somebody is going to write such a large basic block
that their program will fail?

Philosophically-speaking-y'rs,
-- 
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.




More information about the Python-list mailing list