[IronPython] Updating globals()

J. Merrill jvm_cop at spamcop.net
Wed Mar 29 00:58:39 CEST 2006


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?)

At 11:30 AM 3/27/2006, Dino Viehland wrote
>Thanks for the bug report Seo. I can repro this on our current builds and have filed the bug.  I think we'll be able to get this one fixed for beta 5.
>
>Do you want to help develop Dynamic languages on CLR? (http://members.microsoft.com/careers/search/details.aspx?JobID=6D4754DE-11F0-45DF-8B78-DC1B43134038)
>-----Original Message-----
>From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] 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 Sanghyeon


J. Merrill / Analytical Software Corp




More information about the Ironpython-users mailing list