Re: [DB-SIG] Accepted method for handling decimals?

2005-11-28 Thread Carsten Haese
On Mon, 28 Nov 2005 22:59:40 +0100, M.-A. Lemburg wrote > Carsten Haese wrote: > > Hi everybody: > > > > I am planning to implement support for decimals in InformixDB > > (http://informixdb.sourceforge.net) using the python decimal module if > > it's available. My question is, should fetches simpl

Re: [DB-SIG] Accepted method for handling decimals?

2005-11-28 Thread David Rushby
--- "M.-A. Lemburg" <[EMAIL PROTECTED]> wrote: > However, in general, I think that we should come up with > an easy to use way to map database types to Python > constructors. One which is flexible enough to set these > mappings on a per-cursor and even per-column basis. kinterbasdb 3.2 does all of

Re: [DB-SIG] Accepted method for handling decimals?

2005-11-28 Thread M.-A. Lemburg
Carsten Haese wrote: > Hi everybody: > > I am planning to implement support for decimals in InformixDB > (http://informixdb.sourceforge.net) using the python decimal module if > it's available. My question is, should fetches simply return Decimal > instances instead of floats, or should there be s

Re: [DB-SIG] Accepted method for handling decimals?

2005-11-28 Thread Federico Di Gregorio
Il giorno lun, 28/11/2005 alle 10.40 -0500, Carsten Haese ha scritto: > Hi everybody: > > I am planning to implement support for decimals in InformixDB > (http://informixdb.sourceforge.net) using the python decimal module if > it's available. My question is, should fetches simply return Decimal >

[DB-SIG] Accepted method for handling decimals?

2005-11-28 Thread Carsten Haese
Hi everybody: I am planning to implement support for decimals in InformixDB (http://informixdb.sourceforge.net) using the python decimal module if it's available. My question is, should fetches simply return Decimal instances instead of floats, or should there be some kind of configuration setting