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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to