Open eric-wieser opened 10 years ago
Consider:
a = Session() b = Session() add_images_to(a) add_images_to(b) a.commit() b.rollback()
a.commit will commit bs images as well, because _stored_images is global state! It should be session-specific state.
a.commit
b
_stored_images
Consider:
a.commit
will commitb
s images as well, because_stored_images
is global state! It should be session-specific state.