Issue1484

classification
Title: __findattr__(String name) in PyObject.java become final method in 2.5.1
Type: behaviour Severity: major
Components: Core Versions: 2.5.1
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: fajinyuan, leosoto, pjenvey
Priority: Keywords:

Created on 2009-10-05.13:52:07 by fajinyuan, last changed 2009-10-05.17:28:46 by pjenvey.

Messages
msg5216 (view) Author: Fajin Yuan (fajinyuan) Date: 2009-10-05.13:52:06
You can override the __findattr__(String name) method in PyObect.java in
jython 2.2.1, but in 2.5.1 this method declared as final. We have some
classes in our java project that override this method.  If this is not a
mistake, which method should we override now to make Java class emulate
jython class.
msg5217 (view) Author: Philip Jenvey (pjenvey) Date: 2009-10-05.17:28:46
It's not a mistake, you'll need to override __findattr_ex__ now. There's 
more information regarding this new method here:

http://wiki.python.org/jython/JythonDeveloperGuide/AttributeLookupMethods
History
Date User Action Args
2009-10-05 17:28:46pjenveysetstatus: open -> closed
nosy: + pjenvey, leosoto
resolution: invalid
messages: + msg5217
2009-10-05 13:52:07fajinyuancreate