Index: Py.java =================================================================== --- Py.java (revision 7066) +++ Py.java (working copy) @@ -53,9 +53,9 @@ } /* Holds the singleton None and Ellipsis objects */ /** The singleton None Python object **/ - public static PyObject None; + public static org.python.core.PyObject None; /** The singleton Ellipsis Python object - written as ... when indexing */ - public static PyObject Ellipsis; + public static org.python.core.PyObject Ellipsis; /** The singleton NotImplemented Python object. Used in rich comparison */ public static PyObject NotImplemented; /** A zero-length array of Strings to pass to functions that @@ -1324,6 +1324,12 @@ //defaultSystemState; } + //mdb + public static void clearAllThreadLocalState() + { + threadStateMapping.shutdown(); + } + /* Get and set the current frame */ public static PyFrame getFrame() { ThreadState ts = getThreadState();