[IronPython] Compiler flags and co_flags value

Martin Maly Martin.Maly at microsoft.com
Thu Jun 22 19:59:22 PDT 2006


We did make change in the co_flags but this is a case we probably missed.
I filed a bug on CodePlex (#567) for this issue and we'll try to fix it before the next release.

Martin

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Andrzej Krzywda
Sent: Thursday, June 22, 2006 10:16 AM
To: Discussion of IronPython
Subject: [IronPython] Compiler flags and co_flags value

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
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


More information about the users mailing list