[IronPython] Compiler flags

Martin Maly Martin.Maly at microsoft.com
Mon May 8 17:48:29 CEST 2006


A great bug, thanks! We'll fix it.

Martin

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Andrzej Krzywda
Sent: Monday, May 08, 2006 8:09 AM
To: users at lists.ironpython.com
Subject: [IronPython] Compiler flags

Hi all,

It seems that IronPython doesn't deal correctly with compiler flags
(8192 is the compiler flag for __future__.division).

IronPython Beta 6

 >>> exec(compile("print 2/3", "<string>", "exec", 8192), {})
0


CPython
 >>> exec(compile("print 2/3", "<string>", "exec", 8192), {})
0.666666666667

Andrzej Krzywda
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list