Not all attributes can be stored as static variables, or you couldn't add new
ones at runtime. So there must also be a dictionary in the CustomDict subclass
-- right? Are the only attributes that are made into statics the all modules
have these names? (That is, the names I would find if I
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Monday, March 27, 2006 12:26 AM
To: Discussion of IronPython
Subject: [IronPython] Updating globals()
Updating module-level globals() raises AttributeError.
vars = {'a': 1, 'b': 2}
globals().update(vars)
print a, b
Seo
, March 28, 2006 2:59 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Updating globals()
What makes running from file work differently than the console? Are there
possibly other similar issues? (Failing from the console while working from
file is the more common issue, isn't it, in CPython
Updating module-level globals() raises AttributeError.
vars = {'a': 1, 'b': 2}
globals().update(vars)
print a, b
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2006/3/27, Rene Olsthoorn [EMAIL PROTECTED]:
On Windows XP, it runs without a problem.
Strange, I can reproduce this on Windows XP too.
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
-DC1B43134038)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Monday, March 27, 2006 12:26 AM
To: Discussion of IronPython
Subject: [IronPython] Updating globals()
Updating module-level globals() raises AttributeError.
vars = {'a': 1, 'b
: [IronPython] Updating globals()
Hello Seo,
On Windows XP, it runs without a problem.
Greets, Rene Olsthoorn.
On 3/27/06, Sanghyeon Seo [EMAIL PROTECTED] wrote:
Updating module-level globals() raises AttributeError.
vars = {'a': 1, 'b': 2}
globals().update(vars)
print a, b
Seo Sanghyeon