From: Oleg B. <ph...@ph...> - 2009-04-07 20:40:48
|
On Mon, Mar 30, 2009 at 04:16:16PM +0200, Iwan Vosloo wrote: > This looks like a bug - correct me if I'm wrong. Transaction.close() > does not close the underlying connection. Seems like the __getattr__ of > Transaction is to blame if I understand correctly. I think .close() on a Transaction must be forbidden. I am going to add a .close() method to Transaction that raises an exception saying "Do not call close() - call either commit(), commit(close=True) or rollback()". Ok? Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |