[sqlalchemy] Re: Problem when slicing a relation list

2007-10-25 Thread Barry Hart
5:01:43 PM Subject: [sqlalchemy] Re: Problem when slicing a relation list hey Barry - again, can you please attach a working test case for this one ? attached is mine, which tests this exact operation for four diferent kinds of relation()s - one-to-many and many to many, with and without

[sqlalchemy] Re: Problem when slicing a relation list

2007-10-25 Thread Michael Bayer
On Oct 25, 2007, at 3:58 PM, Barry Hart wrote: Here is a test case for the bug. The bug only manifests itself if the transaction that slices the list also modifies all the remaining objects in the list. hi barry - nice job again. we've narrowed down the specific mechanism in this

[sqlalchemy] Re: Problem when slicing a relation list

2007-10-25 Thread Barry Hart
Credit for this one goes to my colleague Greg Hunt. All I did was tell him to write a test case. :-) Barry - Original Message From: Michael Bayer [EMAIL PROTECTED] To: sqlalchemy@googlegroups.com Sent: Thursday, October 25, 2007 6:16:24 PM Subject: [sqlalchemy] Re: Problem when slicing

[sqlalchemy] Re: Problem when slicing a relation list

2007-10-24 Thread Michael Bayer
hey Barry -again, can you please attach a working test case for this one ?  attached is mine, which tests this exact operation for four diferent kinds of relation()s - one-to-many and many to many, with and without delete cascade on the relation.  passes for 0.3 (including 0.3.10) and 0.4.from