From: Brandon P. <bp...@gm...> - 2010-04-09 17:38:58
|
On Fri, Apr 9, 2010 at 11:09 AM, Philip Jenvey <pj...@un...> wrote: > The big change here is that Java objects now use the Python new style class system (PyType and plain PyObjects) instead of old style classes (PyClass and PyInstance). > Thanks for the quick reply. It's good to understand the correlation between those types > Basically you need to replace PyInstance with its base class PyObject. > I have started to do this but in a couple places we are using PyInstance.__dict__.__finditem(itemname) which I assume is the same as PyObject.getDict().__finditem__(itemname)? Also, how about some of the other attributes like PyClass.__name__ and PyInstance.instclass? Thanks, -Brandon |