Andi Vajda <va...@apache.org> wrote:

> On Feb 16, 2011, at 9:39, Bill Janssen <jans...@parc.com> wrote:
> 
> > How do I subclass a Python class in a JCC-wrapped Java module?
> 
>  - define a Java class with native methods
>  - using the usual "extension" tricks have a Python class implement
> these native methods
>  - define a subclass of that Java class so as to inherit these native
> implementations

Yes, that's what I thought.  Almost too painful to consider, I'm afraid.

I was thinking of a more dynamic solution, using reflection, but that
seems a bit error-prone.  Problematic contrast beween the cheerful
dynamism of Python and the stern determinism of Java.

Bill

Reply via email to