Re: [IronPython] co_name in code objects

2006-11-14 Thread Dino Viehland
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

[IronPython] co_name in code objects

2006-11-14 Thread Christian Muirhead
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