Re: [Sqlalchemy-users] session.expunge question

2006-07-14 Thread Michael Bayer
try the latest trunk, this was fixed. On Jul 14, 2006, at 9:46 AM, Brett wrote: > > The docs for Session.expunge() say that it removes the passed object > from the session. In the code session._unattach() is never called > inside > expunge() and the object is only expunged from the session's

[Sqlalchemy-users] session.expunge question

2006-07-14 Thread Brett
The docs for Session.expunge() say that it removes the passed object from the session. In the code session._unattach() is never called inside expunge() and the object is only expunged from the session's UnitOfWork. I would expect.. >>> session.expunge(obj) >>> object_session(obj) None ...but ob