<FixedIn>1.1</FixedIn>
<Test>test_function</Test>
<Thanks>Christian Muirhead</Thanks>
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?