> > I made a script with 100,000 if's, (code below) and it appears
> > to work on a couple systems, including Python 2.4.2 on Win32-XP.
> > So at first cut, it doesn't seem to be just the if-count that
> > triggers the bug.
>
> I tried that code. It runs fine.
>
> However, the following gives a SystemError with only 2500 elif's.
>
>...
>
> I tried this with Python 2.3.3 and 2.3.4 (Linux) and both fail.

Just tried it with 2.4.2 On FreeBSD 6.0 and I get the same result:

Traceback (most recent call last):
  File "buggyif.py", line 10, in ?
    exec prog 
SystemError: com_backpatch: offset too large

Curtis

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to