Too Many if Statements?
nnorwitz at gmail.com
nnorwitz at gmail.com
Thu Feb 9 01:07:14 EST 2006
Juho Schultz wrote:
>
> However, the following gives a SystemError with only 2500 elif's.
SystemErrors should never occur, if you see one it's a bug.
[valid program which demonstrates a python bug]
> Traceback (most recent call last):
> File "iftest.py", line 10, in ?
> exec prog
> SystemError: com_backpatch: offset too large
>
> I tried this with Python 2.3.3 and 2.3.4 (Linux) and both fail.
Yup, 2.4 fails too. Unfortunately, this looks like a bugger to fix in
2.4. So I doubt it will be fixed for old versions of python. The good
news is that it's fixed for 2.5.
n
More information about the Python-list
mailing list