[sqlalchemy] Curious Problem

2009-09-01 Thread gizli
Hi all, I just discovered something weird when doing concurrency testing with my program. Before writing a simplified test case for it and really figuring out whether its a bug with sqlalchemy (I am using 0.5.5), I wanted to write the scenario here. Basically I was getting the infamous Set size

[sqlalchemy] Curious problem with SQLAlchemy

2007-05-13 Thread Michael Harrison
I'm trying to execute a simple query using SA. The following python script *works*: dbsession = create_session() results = dbsession.query(User).select_by(email='[EMAIL PROTECTED]') for user in results: print user.email dbsession.close() However, I get an error when the following code