[IronPython] Ignoring dont_inherit compiler flag

Andrzej Krzywda andrzej.krzywda at resolversystems.com
Mon May 8 17:08:57 CEST 2006


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





More information about the Ironpython-users mailing list