> On Jul 19, 2011 3:44 AM, "Federico Di Gregorio"
> <federico.digrego...@dndg.it> wrote:
>> 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
>> reverse.

On Tue, Jul 19, 2011 at 11:05 AM, Vernon Cole <vernondc...@gmail.com> wrote:
> Yes, please. I would like to see that. Adodbapi has an output conversion
> mechanism, but I don't like it particularly well.

For a description:

http://initd.org/psycopg/docs/advanced.html#adapting-new-python-types-to-sql-syntax
http://initd.org/psycopg/docs/advanced.html#type-casting-of-sql-types-into-python-objects

-- Daniele
_______________________________________________
DB-SIG maillist  -  DB-SIG@python.org
http://mail.python.org/mailman/listinfo/db-sig

Reply via email to