Message3787
The following snippet causes an NPE in the 2.5b0.
This code should work, unless there's been an undocumented change in the
PythonInterpreter API?
// EvalBug.java
import org.python.core.*;
import org.python.util.*;
public class EvalBug
{
public static void main (String [] args)
{
PythonInterpreter.initialize(System.getProperties(), null, new
String[] {});
PythonInterpreter interp = new PythonInterpreter();
PyObject pyo = interp.eval("{u'one': u'two'}");
System.out.println("Result is : " + pyo);
}
} |
|
Date |
User |
Action |
Args |
2008-11-18 19:40:04 | amak | set | recipients:
+ amak |
2008-11-18 19:40:03 | amak | set | messageid: <1227037203.07.0.77691681659.issue1174@psf.upfronthosting.co.za> |
2008-11-18 19:40:02 | amak | link | issue1174 messages |
2008-11-18 19:40:02 | amak | create | |
|