From: <le...@us...> - 2008-08-18 02:12:37
|
Revision: 5194 http://jython.svn.sourceforge.net/jython/?rev=5194&view=rev Author: leosoto Date: 2008-08-18 02:12:34 +0000 (Mon, 18 Aug 2008) Log Message: ----------- PythonInterpreter#cflags initialization moved to PythonInterpreter itself. Fixes a crash on modjy Modified Paths: -------------- branches/asm/src/org/python/util/InteractiveInterpreter.java branches/asm/src/org/python/util/PythonInterpreter.java Modified: branches/asm/src/org/python/util/InteractiveInterpreter.java =================================================================== --- branches/asm/src/org/python/util/InteractiveInterpreter.java 2008-08-17 15:24:17 UTC (rev 5193) +++ branches/asm/src/org/python/util/InteractiveInterpreter.java 2008-08-18 02:12:34 UTC (rev 5194) @@ -14,7 +14,6 @@ } public InteractiveInterpreter(PyObject locals, PySystemState systemState) { super(locals, systemState); - cflags = new CompilerFlags(); } /** Modified: branches/asm/src/org/python/util/PythonInterpreter.java =================================================================== --- branches/asm/src/org/python/util/PythonInterpreter.java 2008-08-17 15:24:17 UTC (rev 5193) +++ branches/asm/src/org/python/util/PythonInterpreter.java 2008-08-18 02:12:34 UTC (rev 5194) @@ -16,7 +16,7 @@ protected PySystemState systemState; PyObject locals; - protected CompilerFlags cflags = null; + protected CompilerFlags cflags = new CompilerFlags(); /** * Initializes the jython runtime. This should only be called once, and This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |