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
         instance as 'dirty' and place it in this set, even if there  
is no net
         change to the attribute's value.  At flush time, the value of  
each
         attribute is compared to its previously saved value, and if  
there's no
         net change, no SQL operation will occur (this is a more  
expensive
         operation so it's only done at flush time).

         To check if an instance has actionable net changes to its  
attributes,
         use the is_modified() method.





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to