From: Frank W. <fwi...@us...> - 2005-07-19 16:11:57
|
Update of /cvsroot/jython/jython/org/python/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9890/org/python/core Modified Files: __builtin__.java Log Message: Added basestring to __builtin__ so isinstance(x, basestring) will work. Index: __builtin__.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/__builtin__.java,v retrieving revision 2.71 retrieving revision 2.72 diff -C2 -d -r2.71 -r2.72 *** __builtin__.java 1 Jul 2005 01:09:33 -0000 2.71 --- __builtin__.java 19 Jul 2005 16:11:42 -0000 2.72 *************** *** 125,128 **** --- 125,129 ---- dict.__setitem__("str", PyType.fromClass(PyString.class)); dict.__setitem__("unicode", PyType.fromClass(PyUnicode.class)); + dict.__setitem__("basestring", PyType.fromClass(PyBaseString.class)); dict.__setitem__("file", PyType.fromClass(PyFile.class)); |