[IronPython] Ignoring dont_inherit compiler flag

Martin Maly Martin.Maly at microsoft.com
Mon May 8 08:57:50 PDT 2006


Thanks for the bug report!

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] Ignoring dont_inherit compiler flag

Hi,

IronPython ignores the dont_inherit compiler flag:

IronPython Beta 6:

 >>> from __future__ import division
 >>> exec(compile("print 2/3", "<string>", "exec", 0, 1), {})
0.666666666667


CPython:

 >>> from __future__ import division
 >>> exec(compile("print 2/3", "<string>", "exec", 0, 1), {})
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