[sqlalchemy] Re: session.dirty but not session.is_modified....

2008-07-16 Thread sandro dentella
Thanks. In fact I use session.is_modified() but I thought it was just a workaround to cope with something I didnt' thoroughly understand... sandro *:-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy

[sqlalchemy] Re: session.dirty but not session.is_modified....

2008-07-15 Thread Michael Bayer
popping from dirty() wont change anything since its a set thats generated each time it's called. this is from the doc for dirty(): Note that this 'dirty' calculation is 'optimistic'; most attribute-setting or collection modification operations will mark an