[DB-SIG] Time() and TimeFromTicks() constructors

M.-A. Lemburg mal at egenix.com
Thu Jan 8 17:36:07 EST 2004


Federico Di Gregorio wrote:
> Il gio, 2004-01-08 alle 23:22, Anthony Tuininga ha scritto:
> [snip]
> 
>>2) Raise an exception when these constructors are used, indicating that
>>Oracle doesn't support the concept.
>>
>>I lean towards number 2 myself but would like some feedback from others
>>on the list. In both cases the documentation will be updated to indicate
>>why these constructors do not work (or are not present).
> 
> I'd vote for (2) because it is was the DBAPI mandates for other
> not-supported-by-all-db methods (like .callproc).

+1

The DB API defines the NotSupportedError for this purpose.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jan 08 2004)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the DB-SIG mailing list