[IronPython] Weird bug

Dino Viehland dinov at exchange.microsoft.com
Tue Oct 24 10:51:31 PDT 2006


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: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] 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
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


More information about the users mailing list