originell/jpype — pull request #41 by baztian (2014-02-07 18:57:19+00:00)
Title: Method shadowed by property

Fixes two related issues:
#1 Having a class with a property1 and a method with the same name the method is not accessible.
>>> b.property1 == "beanvalue" # same as b.getProperty1()
True
>>> b.property1() == "method return value" # call method b.property1()
Traceback...
TypeError: 'unicode' object is not callable

My solution is to not expose Python attribute access in those (rare) cases.

#2 When a Java bean property doesn't have a get-Method (only set) set method won't get called. The property was directly modified.