[New-bugs-announce] [issue1636] Execfile unable to take arguments beyond 255!
report at bugs.python.org
Sun Dec 16 02:19:19 CET 2007
New submission from Jack Atkinson:
I found this problem while using PySNMP and trying to load a custom MIB
converted to python code. Inside the PySNMP, it uses execfile() to load
the python MIBs, and I assume so it won't be put into a separate
namespace. On one particular MIB, which I cannot modify because it's a
company product MIB, this error of unable to take in more than 255
arguments occurs. The problem line is quite long, but surely in this
day and age of 32 bit to 64 bit machines this 255 constraint could be
done away with in the execfile function. I'm assuming the 255
constraint has something to do with unsigned 8 bit number.
components: Interpreter Core
title: Execfile unable to take arguments beyond 255!
versions: Python 2.5
Tracker <report at bugs.python.org>
More information about the New-bugs-announce