[DB-SIG] Oracledb bug

Cary Collett cary@ratatosk.org
Thu, 31 Jul 1997 16:04:07 -0400 (EDT)


If you attempt to look at the description of a cursor object in the
oracledb module before executing an operation it crashes python.

This is on a Solaris/SPARC 2.5.1.

Obviously at this stage of the game description should be undefined,
but the ought to be a more graceful way of handling this. :)

>>> import oracledb
>>> cobj = oracledb.oracledb('foo/bar')
>>> cu = cobj.cursor()
>>> cu.description
Segmentation fault (core dumped)


Cary

_______________
DB-SIG  - SIG on Tabular Databases in Python

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