[DB-SIG] DB-API Spec. 1.1a1

M.-A. Lemburg lemburg@uni-duesseldorf.de
Wed, 03 Dec 1997 12:34:14 +0100


Please have a look:

	http://starship.skyport.net/~lemburg/DatabaseAPI-1.1.html

I've so far added the exceptions (under new names though) that
the odbc module introduced and clearified a few other things.

Most significant change:
- dbi-type objects must now only be "equal" to the values returned
  in cursor.description. This is to allow more than one value returned
  there to be matched by one of the dbi-objects.

Points to discuss (apart from the above):
- Do we really need display_size and internal_size in the description ?
  Python has it's own formatting, so these values aren't really that
  interesting.
- The date/time format. I'd opt for making different alternatives
  available which can be chosen on a per execute basis, e.g. you
  can set the format prior to each execute(), but the format then
  applies to all parameters. There should be new functions in dbi
  for interfacing to these formats and a way to set the default
  format (per connection).

-- 
Marc-Andre Lemburg

PS to Christian: the reverse lookup on starship still doesn't
work yet.


_______________
DB-SIG  - SIG on Tabular Databases in Python

send messages to: db-sig@python.org
administrivia to: db-sig-request@python.org
_______________