Re: conn.close() idempotence

James William Pye <[email protected]>
Newsgroups gmane.comp.python.db
Message-ID <[email protected]>
On Oct 18, 2011, at 10:36 PM, Michael Bayer wrote:
> I'm +1 for close() on a closed connection being harmless.  rollback() already has this behavior, as the spec specifies "rolls back the start of any pending transaction", thus allowing for no activity if no transaction is present.

yep.. +1

cheers, jwp
_______________________________________________
DB-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/db-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.