[IronPython] true division?

Sanghyeon Seo sanxiyn at gmail.com
Thu Sep 21 11:27:36 CEST 2006


2006/9/21, Gary Stephenson <garys at ihug.com.au>:
> Is there a way to get true division in ipy without using the -Qnew command
> line option?  On a per-module or per-instance basis?
>
> "from __future__ import true_division"
> returns "SyntaxError: future feature is not defined: true_division"

Of course. The correct syntax is:
from __future__ import division

Seo Sanghyeon



More information about the Ironpython-users mailing list