From: <pj...@us...> - 2010-04-04 18:02:08
|
Revision: 7000 http://jython.svn.sourceforge.net/jython/?rev=7000&view=rev Author: pjenvey Date: 2010-04-04 18:02:02 +0000 (Sun, 04 Apr 2010) Log Message: ----------- allow more arities on some not implemented functions fixes #1517 Modified Paths: -------------- trunk/jython/NEWS trunk/jython/src/org/python/modules/gc.java Modified: trunk/jython/NEWS =================================================================== --- trunk/jython/NEWS 2010-04-04 00:16:58 UTC (rev 6999) +++ trunk/jython/NEWS 2010-04-04 18:02:02 UTC (rev 7000) @@ -22,6 +22,7 @@ - [ 1576 ] files opened in 'a+' mode not readable - [ 1563 ] unicode() for Java objects working differently in 2.2 and 2.5 - [ 1566 ] os.popen(cmd).read() returns `\r\n` as newline on Windows with Jython 2.5 + - [ 1517 ] TypeError: get_referrers - Fix runtime issues during exitfuncs triggered via SystemRestart (such as during Django or Pylons development mode reloading) - Fix pickling of collections.defaultdict objects Modified: trunk/jython/src/org/python/modules/gc.java =================================================================== --- trunk/jython/src/org/python/modules/gc.java 2010-04-04 00:16:58 UTC (rev 6999) +++ trunk/jython/src/org/python/modules/gc.java 2010-04-04 18:02:02 UTC (rev 7000) @@ -1,9 +1,6 @@ package org.python.modules; -import org.python.core.ClassDictInit; import org.python.core.Py; -import org.python.core.PyException; -import org.python.core.PyInteger; import org.python.core.PyObject; public class gc { @@ -34,12 +31,12 @@ throw Py.NotImplementedError("not applicable to Java GC"); } - public static void set_debug() { + public static void set_debug(int flags) { throw Py.NotImplementedError("not applicable to Java GC"); } public static int get_debug() { return 0; } - public static void set_threshold() { + public static void set_threshold(PyObject[] args, String[] kwargs) { throw Py.NotImplementedError("not applicable to Java GC"); } public static PyObject get_threshold() { @@ -49,10 +46,10 @@ public static PyObject get_objects() { throw Py.NotImplementedError("not applicable to Java GC"); } - public static PyObject get_referrers() { + public static PyObject get_referrers(PyObject[] args, String[] kwargs) { throw Py.NotImplementedError("not applicable to Java GC"); } - public static PyObject get_referents() { + public static PyObject get_referents(PyObject[] args, String[] kwargs) { throw Py.NotImplementedError("not applicable to Java GC"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |