[IronPython] Compiler flags and co_flags value

Andrzej Krzywda andrzej.krzywda at resolversystems.com
Thu Jun 22 19:16:09 CEST 2006


Hi all,

It's good to see that the compiler flags are now working in IronPython 
Beta8.

However, the compiled code object doesn't return valid co_flags value:

CPython:
 >>> x = compile("print 2/3", "<string>", "exec", 8192)
 >>> x.co_flags
8256

IronPython Beta 8:
 >>> x = compile("print 2/3", "<string>", "exec", 8192)
 >>> x.co_flags
0

Andrzej Krzywda



More information about the Ironpython-users mailing list