From: <pj...@us...> - 2008-08-01 22:38:35
|
Revision: 5049 http://jython.svn.sourceforge.net/jython/?rev=5049&view=rev Author: pjenvey Date: 2008-08-01 22:38:32 +0000 (Fri, 01 Aug 2008) Log Message: ----------- list.__nonzero__ needn't be exposed, couple test_descrtut fixes (though it still fails due to parser problems) Modified Paths: -------------- branches/asm/Lib/test/test_descrtut.py branches/asm/src/org/python/core/PyList.java Modified: branches/asm/Lib/test/test_descrtut.py =================================================================== --- branches/asm/Lib/test/test_descrtut.py 2008-08-01 22:28:52 UTC (rev 5048) +++ branches/asm/Lib/test/test_descrtut.py 2008-08-01 22:38:32 UTC (rev 5049) @@ -73,7 +73,7 @@ >>> exec "x = 3; print x" in a 3 >>> print sorted(a.keys()) - [1, 2, '__builtins__', 'x'] + [1, 2, 'x'] >>> print a['x'] 3 >>> @@ -199,10 +199,10 @@ '__mul__', '__ne__', '__new__', + '__radd__', '__reduce__', '__reduce_ex__', '__repr__', - '__reversed__', '__rmul__', '__setattr__', '__setitem__', Modified: branches/asm/src/org/python/core/PyList.java =================================================================== --- branches/asm/src/org/python/core/PyList.java 2008-08-01 22:28:52 UTC (rev 5048) +++ branches/asm/src/org/python/core/PyList.java 2008-08-01 22:38:32 UTC (rev 5049) @@ -377,11 +377,6 @@ return ret; } - @ExposedMethod - final boolean list___nonzero__() { - return seq___nonzero__(); - } - public PyObject __iter__() { return list___iter__(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |