[DB-SIG] Controlling return types for DB APIs

Jim Patterson unixdude at gmail.com
Tue Apr 17 06:05:16 CEST 2007


All,

Over on the cx_Oracle list we have been discussing adding support
for returning native Unicode strings and decimal objects.  We have
so far been talking about using a settable attribute on the connection
and the cursor with the cursor inheriting the value from the connection
by default.  The is very similar to the existing technique used
by cx_Oracle for the "numbersAsString" and the technique used
by mxODBC for the "stringFormat" and "datetimeFormat".

Anyone have any thoughts/feelings/opinions about moving towards
standardizing how we do this kind of thing across the different
database modules?

Thanks in advance,
Jim Patterson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/db-sig/attachments/20070417/a72b0878/attachment.html 


More information about the DB-SIG mailing list