[DB-SIG] Some obscurity with paramstyle
vernondcole at gmail.com
Tue Jul 19 12:05:26 CEST 2011
Yes, please. I would like to see that. Adodbapi has an output conversion
mechanism, but I don't like it particularly well.
I would be happy to create a fork of adodbapi for a reference
implementation. It will talk to any major database engine, but
unfortunately, only on Windows.
(sent from my 'droid phone)
On Jul 19, 2011 3:44 AM, "Federico Di Gregorio" <federico.digregorio at dndg.it>
> On 18/07/11 14:54, M.-A. Lemburg wrote:
>> We will likely have to introduce a new TEXT() constructor
>> which maps data objects to text data and then takes care
>> of the database specific encoding issues.
>> There are similar issues with float/decimal and date/time
>> It would be great if we could resolve all of these using
>> a data type mapping facility that defines input and output
>> mappings in an efficient and flexible way.
> At least 2 drivers (psycopg and pysqlite) provide a Python->backend
> mechanism based on PEP 246, "Object Adaptation". If other implementors
> are interested I can write a short explanation about how it works and
> why it was chosen only for the Python->backend path and not for the
> Federico Di Gregorio federico.digregorio at dndg.it
> Studio Associato Di Nunzio e Di Gregorio http://dndg.it
> Se sai che hai un ***** di file così, lo manovri subito. -- vodka
> DB-SIG maillist - DB-SIG at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the DB-SIG