Just a small update.
First, my system: Ubuntu Edgy, SQLAlchemy 0.3.3, psycopg 2.0.5, postgres
8.1.4, python2.5.
I've realized this issue is highly strange, it seems related to something I
can't understand.
I'm using a custom metaclass system to map everything from my metadata to
objects. If I
im sure if you put a session.clear() in between those two statements
then they both would independently work. since the instances() step of
a query does not re-instantiate or re-populate instances that are
already present in the session, there is probably some difference in
loading that is
Yes, you're right, even tough this doesn't help (I need all objects to be in
the same session) and I think I've just found out what raises the problem.
The problem is my MapperExtension. I wanted to call __init__ on my instances
in order to initialize some meta-properties which work on a