From: Ian B. <ia...@co...> - 2004-12-06 18:08:18
|
Carlos Ribeiro wrote: > On Mon, 6 Dec 2004 20:09:53 +0300, Oleg Broytmann <ph...@ma...> wrote: > >>On Mon, Dec 06, 2004 at 03:00:02PM -0200, Carlos Ribeiro wrote: >> >>>I really don't know what to do. >> >> Wait until DB API 3 implements Decimal in drivers. To speed things up >>start discussing DB API 3 in the db-sig, and send patches for your >>driver. >> Yes, that's hard... > > > I remember posting a comment about the state of the DB API on c.l.py a > couple of months ago (soon after the famous AMK blog post on the std > library), and being quickly flamed by some well know DB-SIG members. > So that's *really* hard. It won't be hard for the decimal type -- the decimal type is an issue of correctness. It might be hard to make it actually *happen* given the development process for any particular driver, but everyone knows returning a Python decimal for a DB decimal column is the Right Thing. All you have to ask is, "how do I do it?" and if there's not a way, "how can we change the driver to allow me to do it?" -- Ian Bicking / ia...@co... / http://blog.ianbicking.org |