Export to GitHub

acute-dbapi - issue #3

close() method should be idempotent


Posted on Mar 4, 2012 by Quick Panda

The test suite checks that the close() raises an exception when executed on a closed connection:

This behaviour has been considered problematic:

and the DBSIG has sort of agreed that conn.close(); conn.close() shouldn't raise an exception:

Ok to drop the excessively strict check? I'd say the same should be on the cursors.

Status: New

Labels:
Type-Defect Priority-Medium