--- /org/python/core/Py.java Tue Dec 5 23:58:34 2006 +++ Py.java Tue Jan 16 10:34:18 2007 @@ -417,10 +417,11 @@ /** @deprecated **/ public static PyObject jgetattr(PyProxy proxy, String name) { PyInstance o = proxy._getPyInstance(); - PyObject ret = null; - if (o != null) { - ret = o.__jfindattr__(name); - } + if(o == null){ + proxy.__initProxy__(new Object[0]); + o = proxy._getPyInstance(); + } + PyObject ret = o.__jfindattr__(name); if (ret == null) throw Py.AttributeError("abstract method \""+name+ "\" not implemented");