Re: [sqlalchemy] SQLAlchemy 0.8.0b2 released

2012-12-16 Thread Wichert Akkerman
On Dec 14, 2012, at 22:11, Michael Bayer mike...@zzzcomputing.com wrote: But the effect of only publishing 0.8.0b1 on Sourceforge was that I didn't get the impression that we had so many people going out and testing the beta as we normally do. I was reminded by Chris McDonough that a

Re: [sqlalchemy] SQLAlchemy 0.8.0b2 released

2012-12-16 Thread Michael Bayer
On Dec 16, 2012, at 10:10 AM, Wichert Akkerman wrote: On Dec 14, 2012, at 22:11, Michael Bayer mike...@zzzcomputing.com wrote: But the effect of only publishing 0.8.0b1 on Sourceforge was that I didn't get the impression that we had so many people going out and testing the beta as we

Re: [sqlalchemy] SQLAlchemy is trying to insert duplicate rows in an M2M Relationship

2012-12-16 Thread Michael Bayer
Flask-SQLAlchemy sets the Session to autoflush=False. That's pretty much the difference here, and lazy='dynamic' works poorly with this setting. There is sort of a bug-like behavior I can pull out of it here where I see the history is getting set incorrectly, as I suspected, and I should

Re: [sqlalchemy] SQLAlchemy is trying to insert duplicate rows in an M2M Relationship

2012-12-16 Thread Donald Stufft
Hey thanks a ton! Looking at the Flask-SQLAlchemy history, it seems autoflush=False has been the Flask-SQLAlchemy default since the initial checkin. Not being all that educated on when you'd want false/true is there any good reason for me to not just restore the SQLAlchemy default of