[IronPython] Setting func_name

Dino Viehland dinov at exchange.microsoft.com
Fri Dec 1 22:25:12 CET 2006


I've opened CodePlex bug #6142 for this (http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=6142).  Thanks for finding & reporting this!

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Sanghyeon Seo
Sent: Friday, December 01, 2006 7:54 AM
To: Discussion of IronPython
Subject: [IronPython] Setting func_name

This is broken.

>>> def f(): pass
...
>>> f.func_name = 'g'
>>> print f
<function f at 0x000000000000002B>
>>> f.__name__
'f'

--
Seo Sanghyeon
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list