Silas S. Brown added the comment:
After further investigation I'm suspecting that this issue is actually
due to the process running out of RAM.
___
Python tracker
<http://bugs.python.org/issu
Silas S. Brown added the comment:
I got a very similar error on an Otek Pocket PC running Windows Mobile
2003 SE and the latest version of pythonce from
pythonce.sourceforge.net. The error is:
File
"C:\devl\release\PythonCE-2.5-20061219\Python-2.5-wince\Lib\random.py",
line 10
Silas S. Brown <[EMAIL PROTECTED]> added the comment:
Sorry, I accidentally posted the workaround code instead of the bug
example. This is what I should have posted:
setting1 = "val1"
setting2 = "val2"
def dummy():
global setting1
def f(x):
exec(x)
retur
New submission from Silas S. Brown <[EMAIL PROTECTED]>:
Here's the example code:
setting1 = "val1"
setting2 = "val2"
def dummy():
global setting1
def f(x):
d ={"setting1":setting1,"setting2":setting2}
exec(x) in d
return d[