4 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: session.dirty, not b...
FromSent OnAttachments
Alexandre Conrad20 Sep 2007 09:54 
Michael Bayer21 Sep 2007 18:29 
Alexandre Conrad24 Sep 2007 07:08.py
Michael Bayer24 Sep 2007 07:52 
Subject:[sqlalchemy] Re: session.dirty, not behaving as I expected...
From:Alexandre Conrad (acon@magic.fr)
Date:09/24/2007 07:08:13 AM
List:com.googlegroups.sqlalchemy
Attachments:

Michael Bayer wrote:

On Sep 20, 2007, at 12:55 PM, Alexandre Conrad wrote:

It turns out that even if the values were kept unchanged, the slot get's ditry. Of course, I'd understand that as soon as the setattr() is called against the slot, it automaticly gets dirty regardless of the replaced data.

it shouldnt. "dirty" changes are based on a comparison of the new value being different from the old value. send me a short test script (since im catching up on 500 emails...also what SA version ?)

Test case attached. I'm using SQLAlchemy-0.4.0beta6dev_r3502.

Regards,