To: 'Discussion of IronPython'
Subject: [IronPython]
PythonEngine.EvaluateAs and future division
The following code gives different results. Is this expected
or a bug?
IronPython.Compiler.Options.Division =
IronPython.Compiler.DivisionOption.New;
PythonEngine _pe = new PythonEngine();
_pe.Execute
The following code gives different results. Is this expected
or a bug?
IronPython.Compiler.Options.Division =
IronPython.Compiler.DivisionOption.New;
PythonEngine _pe = new PythonEngine();
_pe.Execute(result1 = 1/2);
double result1 = Convert.ToDouble(_pe.Globals[result1]);
double