Great find! I've opened CodePlex bug 4716. (http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=4716). The problem goes away if you change the name from items = .... So I suspect this is a conflict between the name binder & our built-in cache, but I need to investigate it more to be sure.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Saturday, October 21, 2006 3:23 AM To: Discussion of IronPython Subject: [IronPython] Weird bug This is downright weird: # bug.py items = globals().items() TypeError: Uninitialized object is not callable The bug happens only if you run from the file. Console is okay. I found this while trying to run test_sax.py in the Python test suite. -- Seo Sanghyeon _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com _______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
