Very straightforward, this one. The following:
session.delete(p) session.flush() Reliably gets me an ObjectDeletedError exception. p is a known valid object before the delete. No other update, insert or deletes have taken place. Here's the last line of the traceback: File "/usr/lib/python2.4/site-packages/SQLAlchemy-0.5.2-py2.4.egg/sqlalchemy/orm/mapper.py", line 1790, in _load_scalar_attributes raise exc.ObjectDeletedError("Instance '%s' has been deleted." % state_str(state)) Known problem or a bug in my understanding ? Thanks in advance. -- t o b e --~--~---------~--~----~------------~-------~--~----~ 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 sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---