Issue1103

classification
Title: __tojava__ should work the same way on old-style and new-style classes
Type: Severity: normal
Components: Core Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: leosoto Nosy List: fwierzbicki, leosoto
Priority: Keywords:

Created on 2008-08-11.21:59:40 by leosoto, last changed 2008-11-01.13:56:42 by fwierzbicki.

Messages
msg3423 (view) Author: Leonardo Soto (leosoto) Date: 2008-08-11.21:59:40
I added __tojava__ to *Derived, without knowing that it was already
supported on PyInstance. So now we have two different (and not exactly
compatible) implementations for the same idea.

The problem is that the PyInstance.__tojava__ didn't let the
python-level __tojava__ a chance when the requested class was
Object.class. I don't like this (and will break zxJDBC when datetime.*
or decimal.Decimal parameters are passed without explicitly setting the
types as an extra argument).
History
Date User Action Args
2008-11-01 13:56:42fwierzbickisetnosy: + fwierzbicki
components: + Core
2008-08-11 21:59:51leosotosetassignee: leosoto
2008-08-11 21:59:40leosotocreate