From: <bc...@wo...> - 2000-12-22 11:11:22
|
[Samuele] >Finn, thanks for the help and the many examples. Here is a new patch >proposal. >The difference is minimal but significative: > > if (ret != null) { > // Allow a package component to change its own meaning >- PyObject tmp = __dict__.__finditem__(attr); >- if (tmp != null) >- ret = tmp; >+ PyObject tmp = modules.__finditem__(fullName); >+ if (tmp != null) ret = tmp; > __dict__.__setitem__(attr, ret); > return ret; > } > >Simply the old jpython code was doing the wrong thing. >I think this version should be ok for check in. Let me know. Yes. Please commit it. With the patch, it is not longer the jython import mechanism that prevent pyxml from running with jython. regards, finn |