Re: [IronPython] Updating globals()

2006-03-29 Thread J. Merrill
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

Re: [IronPython] Updating globals()

2006-03-28 Thread J. Merrill
: [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

Re: [IronPython] Updating globals()

2006-03-28 Thread Dino Viehland
, 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

[IronPython] Updating globals()

2006-03-27 Thread Sanghyeon Seo
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

Re: [IronPython] Updating globals()

2006-03-27 Thread Sanghyeon Seo
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

Re: [IronPython] Updating globals()

2006-03-27 Thread Dino Viehland
-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

Re: [IronPython] Updating globals()

2006-03-27 Thread Dino Viehland
: [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