[IronPython] co_name in code objects

Dino Viehland dinov at exchange.microsoft.com
Tue Nov 14 19:13:48 CET 2006

Thanks for the bug report!  I've filed this as CodePlex bug 5641 (http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=5641)

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Christian Muirhead
Sent: Tuesday, November 14, 2006 9:34 AM
To: users at lists.ironpython.com
Subject: [IronPython] co_name in code objects

Hi -

We noticed a small difference between CPython and IronPython:


 >>> c = compile("x = 2", "test", "exec")
 >>> c.co_filename

IronPython 1.0.1

 >>> c = compile("x = 2", "test", "exec")
 >>> c.co_filename

(That is, it was None)

It would be handy for us if IP's behaviour matched CPython's here. Can
you please add a bug for this?

users mailing list
users at lists.ironpython.com

More information about the Ironpython-users mailing list