From: Finn B. <bc...@us...> - 2001-11-27 12:08:41
|
Update of /cvsroot/jython/jython/org/python/modules In directory usw-pr-cvs1:/tmp/cvs-serv15642 Modified Files: cStringIO.java Log Message: Make the softspace field writable. Fix for "[ #485968 ] cStringIO.softspace is not assignable." Index: cStringIO.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/modules/cStringIO.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** cStringIO.java 2001/10/28 17:13:44 1.10 --- cStringIO.java 2001/11/27 12:08:39 1.11 *************** *** 68,71 **** --- 68,79 ---- + public void __setattr__(String name, PyObject value) { + if (name == "softspace") { + softspace = value.__nonzero__(); + return; + } + super.__setattr__(name, value); + } + /** * Free the memory buffer. |