Index: src/org/python/core/PyType.java =================================================================== --- src/org/python/core/PyType.java (revision 6258) +++ src/org/python/core/PyType.java (working copy) @@ -596,16 +596,17 @@ // non-proxy types go straight into our lookup cleanedBases.add(base); } else { - if (!(base instanceof PyJavaType)) { - // python subclasses of proxy types need to be added as a base so their - // version of methods will show up - cleanedBases.add(base); - } else if (!addedProxyType) { + if (!addedProxyType) { // Only add a single Java type, since everything's going to go through the // proxy type cleanedBases.add(proxyType); addedProxyType = true; } + if (!(base instanceof PyJavaType)) { + // python subclasses of proxy types need to be added as a base so their + // version of methods will show up + cleanedBases.add(base); + } } } bases = cleanedBases.toArray(new PyObject[cleanedBases.size()]);