From: <fwi...@us...> - 2008-07-26 01:51:50
|
Revision: 5001 http://jython.svn.sourceforge.net/jython/?rev=5001&view=rev Author: fwierzbicki Date: 2008-07-26 01:51:48 +0000 (Sat, 26 Jul 2008) Log Message: ----------- Small cleanup in Py.java -- killing stray System.outs. Modified Paths: -------------- branches/asm/src/org/python/core/Py.java Modified: branches/asm/src/org/python/core/Py.java =================================================================== --- branches/asm/src/org/python/core/Py.java 2008-07-26 01:34:48 UTC (rev 5000) +++ branches/asm/src/org/python/core/Py.java 2008-07-26 01:51:48 UTC (rev 5001) @@ -858,12 +858,10 @@ return; } - //System.out.println("path: "+sys.path.__str__()); PyObject mod; // ??pending: findClass or should avoid sys.path loading? Class modClass = Py.findClass(module+"$_PyInner"); if (modClass != null) { - //System.err.println("found as class: "+modClass); PyCode code=null; try { code = ((PyRunnable)modClass.newInstance()).getMain(); @@ -873,7 +871,6 @@ mod = imp.createFromCode(module, code); } else { mod = imp.importName(module.intern(), false); - //System.err.println("found as mod: "+mod); } PyClass pyc = (PyClass)mod.__getattr__(pyclass.intern()); @@ -1242,6 +1239,7 @@ ThreadState ts = getThreadState(newSystemState); PySystemState oldSystemState = ts.systemState; if (oldSystemState != newSystemState) { + //XXX: should we make this a real warning? //System.err.println("Warning: changing systemState "+ // "for same thread!"); ts.systemState = newSystemState; @@ -1256,7 +1254,6 @@ /* Get and set the current frame */ public static PyFrame getFrame() { - //System.out.println("getFrame"); ThreadState ts = getThreadState(); if (ts == null) { return null; @@ -1265,7 +1262,6 @@ } public static void setFrame(PyFrame f) { - //System.out.println("setFrame"); getThreadState().frame = f; } @@ -1965,6 +1961,8 @@ } public PyObject call(PyFrame frame, PyObject closure) { + //XXX: what the heck is this? Looks like debug code, but it's + // been here a long time... System.out.println("call #1"); return Py.None; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |