max length of a python program

Christos TZOTZIOY Georgiou tzot at
Thu Aug 21 19:34:11 CEST 2003

On Thu, 21 Aug 2003 17:25:51 GMT, rumours say that "Andrew Dalke"
<adalke at> 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?

TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.

More information about the Python-list mailing list