From: Finn B. <bc...@us...> - 2001-08-19 21:21:43
|
Update of /cvsroot/jython/jython/org/python/core In directory usw-pr-cvs1:/tmp/cvs-serv15928 Modified Files: PyComplex.java PyDictionary.java PyFloat.java PyInteger.java PyList.java PyMethod.java PyNone.java PyString.java PySystemState.java PyTuple.java Log Message: The rest of the safeRepr() change. Index: PyComplex.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyComplex.java,v retrieving revision 2.7 retrieving revision 2.8 diff -C2 -d -r2.7 -r2.8 *** PyComplex.java 2001/07/16 16:16:53 2.7 --- PyComplex.java 2001/08/19 21:21:40 2.8 *************** *** 16,20 **** } ! protected String safeRepr() { return "'complex' object"; } --- 16,20 ---- } ! public String safeRepr() throws PyIgnoreMethodTag { return "'complex' object"; } Index: PyDictionary.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyDictionary.java,v retrieving revision 2.15 retrieving revision 2.16 diff -C2 -d -r2.15 -r2.16 *** PyDictionary.java 2001/04/13 18:32:05 2.15 --- PyDictionary.java 2001/08/19 21:21:40 2.16 *************** *** 151,155 **** } ! protected String safeRepr() { return "'dict' object"; } --- 151,155 ---- } ! public String safeRepr() throws PyIgnoreMethodTag { return "'dict' object"; } Index: PyFloat.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyFloat.java,v retrieving revision 2.8 retrieving revision 2.9 diff -C2 -d -r2.8 -r2.9 *** PyFloat.java 2001/02/25 16:47:44 2.8 --- PyFloat.java 2001/08/19 21:21:40 2.9 *************** *** 20,24 **** } ! protected String safeRepr() { return "'float' object"; } --- 20,24 ---- } ! public String safeRepr() throws PyIgnoreMethodTag { return "'float' object"; } Index: PyInteger.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyInteger.java,v retrieving revision 2.11 retrieving revision 2.12 diff -C2 -d -r2.11 -r2.12 *** PyInteger.java 2001/07/27 14:55:46 2.11 --- PyInteger.java 2001/08/19 21:21:40 2.12 *************** *** 20,24 **** } ! protected String safeRepr() { return "'int' object"; } --- 20,24 ---- } ! public String safeRepr() throws PyIgnoreMethodTag { return "'int' object"; } Index: PyList.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyList.java,v retrieving revision 2.22 retrieving revision 2.23 diff -C2 -d -r2.22 -r2.23 *** PyList.java 2001/08/05 15:14:07 2.22 --- PyList.java 2001/08/19 21:21:40 2.23 *************** *** 134,138 **** } ! protected String safeRepr() { return "'list' object"; } --- 134,138 ---- } ! public String safeRepr() throws PyIgnoreMethodTag { return "'list' object"; } Index: PyMethod.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyMethod.java,v retrieving revision 2.13 retrieving revision 2.14 diff -C2 -d -r2.13 -r2.14 *** PyMethod.java 2001/03/04 17:54:38 2.13 --- PyMethod.java 2001/08/19 21:21:40 2.14 *************** *** 133,137 **** } ! protected String safeRepr() { return "'method' object"; } --- 133,137 ---- } ! public String safeRepr() throws PyIgnoreMethodTag { return "'method' object"; } Index: PyNone.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyNone.java,v retrieving revision 2.5 retrieving revision 2.6 diff -C2 -d -r2.5 -r2.6 *** PyNone.java 2001/02/25 16:45:29 2.5 --- PyNone.java 2001/08/19 21:21:40 2.6 *************** *** 24,28 **** } ! protected String safeRepr() { return "'None' object"; } --- 24,28 ---- } ! public String safeRepr() throws PyIgnoreMethodTag { return "'None' object"; } Index: PyString.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyString.java,v retrieving revision 2.48 retrieving revision 2.49 diff -C2 -d -r2.48 -r2.49 *** PyString.java 2001/08/14 20:14:17 2.48 --- PyString.java 2001/08/19 21:21:40 2.49 *************** *** 315,319 **** } ! protected String safeRepr() { return "'string' object"; } --- 315,319 ---- } ! public String safeRepr() throws PyIgnoreMethodTag { return "'string' object"; } Index: PySystemState.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PySystemState.java,v retrieving revision 2.61 retrieving revision 2.62 diff -C2 -d -r2.61 -r2.62 *** PySystemState.java 2001/08/19 21:16:33 2.61 --- PySystemState.java 2001/08/19 21:21:40 2.62 *************** *** 189,193 **** ! protected String safeRepr() { return "module 'sys'"; } --- 189,193 ---- ! public String safeRepr() throws PyIgnoreMethodTag { return "module 'sys'"; } Index: PyTuple.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyTuple.java,v retrieving revision 2.9 retrieving revision 2.10 diff -C2 -d -r2.9 -r2.10 *** PyTuple.java 2001/03/04 18:12:33 2.9 --- PyTuple.java 2001/08/19 21:21:40 2.10 *************** *** 63,67 **** } ! protected String safeRepr() { return "'tuple' object"; } --- 63,67 ---- } ! public String safeRepr() throws PyIgnoreMethodTag { return "'tuple' object"; } |