From: Frank W. <fwi...@us...> - 2005-10-14 20:53:25
|
Update of /cvsroot/jython/jython/org/python/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14575/org/python/core Modified Files: PySequence.java Log Message: test_datetime now passes. All pickling tests have been removed as pickling is its own TODO. The time module has been signicantly reworked. The timetuple in the time module is now a simple new-style class. PySequence's cmp method is now protected so classes like PyTimeTuple can make use of it without a copy/paste. Index: PySequence.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PySequence.java,v retrieving revision 2.25 retrieving revision 2.26 diff -C2 -d -r2.25 -r2.26 *** PySequence.java 20 Jun 2005 17:12:14 -0000 2.25 --- PySequence.java 14 Oct 2005 20:53:16 -0000 2.26 *************** *** 256,260 **** // -2: reached the end of both seqeunces without a difference // -3: reached the end of o2 without a difference ! private static int cmp(PyObject o1, int ol1, PyObject o2, int ol2) { if (ol1 < 0) ol1 = o1.__len__(); --- 256,260 ---- // -2: reached the end of both seqeunces without a difference // -3: reached the end of o2 without a difference ! protected static int cmp(PyObject o1, int ol1, PyObject o2, int ol2) { if (ol1 < 0) ol1 = o1.__len__(); |