Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18)

Unified Diff: src/org/python/core/PyClass.java

Issue 2888: __findattr__ refactor (Closed) SVN Base: https://jython.svn.sourceforge.net/svnroot/jython/branches/asm
Patch Set: This is the actually commited patch (on r5155), in case you have more comments Created 1 year, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: src/org/python/core/PyClass.java
===================================================================
--- src/org/python/core/PyClass.java (revisión: 5153)
+++ src/org/python/core/PyClass.java (copia de trabajo)
@@ -228,7 +228,7 @@
return result[0];
}
- public PyObject __findattr__(String name) {
+ public PyObject __findattr_ex__(String name) {
if (name == "__dict__") {
return __dict__;
}
@@ -245,7 +245,7 @@
PyObject[] result = lookupGivingClass(name, false);
if (result[0] == null) {
- return super.__findattr__(name);
+ return super.__findattr_ex__(name);
}
// xxx do we need to use result[1] (wherefound) for java cases for backw
// comp?

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r483