Re: [Sqlalchemy-users] can't pickle weakref objects errors

2006-04-06 Thread Michael Bayer
oh MAN. well, this is just great. if I just add the attribute dictionary to the object, it creates circular references, then people complain that their objects dont get removed from the identity map when they fall out of scope. if I remove the circular reference by using a weakref, now

[Sqlalchemy-users] can't pickle weakref objects errors

2006-04-06 Thread HD Mail
Hi, I use to save one of my model objects in the myghty session (User object). This no longer works after updating to the lastest svn. I'm assuming that weakref usage is causing this which is all fine. Is there a way to remove all SA magic stuff from my objects after SA has loaded it from the