[IronPython] co_name in code objects
Christian Muirhead
christian.muirhead at resolversystems.com
Tue Nov 14 18:33:52 CET 2006
Hi -
We noticed a small difference between CPython and IronPython:
CPython:
>>> c = compile("x = 2", "test", "exec")
>>> c.co_filename
'test'
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?
Thanks,
Christian
More information about the Ironpython-users
mailing list