2006 9:34 AM
To: users@lists.ironpython.com
Subject: [IronPython] co_name in code objects
Hi -
We noticed a small difference between CPython and IronPython:
CPython:
>>> c = compile("x = 2", "test", "exec")
>>> c.co_filename
'te
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