I'm working in a session with `session.autoflush = False`, but pending objects that I expunge get automatically added back in. It has something to do with references held to the object. The object is not in session.new immediately after expunging, but it seems to get added back in once the reference is accessed. Using `del` liberally makes this bug more of a nuisance than anything critical. I tried reproducing with a couple basic examples, but it worked as it should. There's a lot going on in the code where this is an issue, so before I put more time in to come up with a minimum example etc, I just want to confirm that this isn't intended behavior.
-- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
