From: Finn B. <bc...@us...> - 2001-03-04 18:12:24
|
Update of /cvsroot/jython/jython/org/python/core In directory usw-pr-cvs1:/tmp/cvs-serv27792 Modified Files: PyFunction.java Log Message: __findattr__(): Make an unassigned __dict__ return None. Index: PyFunction.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/PyFunction.java,v retrieving revision 2.9 retrieving revision 2.10 diff -C2 -r2.9 -r2.10 *** PyFunction.java 2001/02/25 16:47:44 2.9 --- PyFunction.java 2001/03/04 18:13:56 2.10 *************** *** 118,122 **** if (name == "__dict__") { if (__dict__ == null) ! __dict__ = new PyStringMap(); return __dict__; } --- 118,122 ---- if (name == "__dict__") { if (__dict__ == null) ! return Py.None; return __dict__; } |