[sqlalchemy] multiple table update with two columns having the same name

2014-01-17 Thread Navid Sheikhol Eslami
I believe I may have hit a bug in the way SQLAlchemy handles multiple table updates. I have written a test unit to reproduce the problem: http://pastebin.com/4veNE4A8 Apparently if trying to update two columns with the same name, only one column is actually updated while the other one is silent

Re: [sqlalchemy] QueuePool connections counter leak

2013-07-04 Thread Navid Sheikhol Eslami
On Thursday, July 4, 2013 7:00:18 AM UTC-7, Michael Bayer wrote: > > I'll have to work up a more self contained test using mocks (the approach > can be seen here: > https://github.com/zzzeek/sqlalchemy/blob/master/test/engine/test_reconnect.py#L21) > > so that this can be tested completely - i

[sqlalchemy] QueuePool connections counter leak

2013-07-04 Thread Navid Sheikhol Eslami
I believe I have found a bug in QueuePool causing it to leak connections during instantiation of _ConnectionFairy objects, when get_connection() raises an exception. A simple way to reproduce this is to have a connection expire and simulate a network issue to have get_connection() raise an exce