Thanks for the bug report Seo. I've opened CodePlex bug #7594 (http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=7594).
It looks like the problem is that our type.__call__ is actually the type object it's self, CPython has a slot wrapper for __call__: >>> type.__call__ <type 'type'> CPython has a slot wrapper for this: >>> type.__call__ <slot wrapper '__call__' of 'type' objects> We probably need to publish our own slot wrapper to make this work. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Tuesday, January 23, 2007 3:49 AM To: Discussion of IronPython Subject: [IronPython] type.__call__ again CPython >>> type.__call__(object) <object object at ...> IronPython >>> type.__call__(object) <type 'type'> Something's wrong... -- 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
