On Wed, 2011-06-29 at 15:31 -0400, Michael Bayer wrote: > I'm not sure offhand if __new__() can be wrapped in a monkeypatch the > way we do for __init__(), or if so what are the side effects of that, > and it also would mean there's no way to create a new instance > without ._sa_instance_state being tacked on. Particularly with > pickling this is problematic.
Good point, I missed that __new__ might be needed for unpickling. Thanks! Greetings, Torsten -- DYNAmore Gesellschaft fuer Ingenieurdienstleistungen mbH Torsten Landschoff Office Dresden Tel: +49-(0)351-4519587 Fax: +49-(0)351-4519561 mailto:[email protected] http://www.dynamore.de Registration court: Mannheim, HRB: 109659, based in Karlsruhe, Managing director: Prof. Dr. K. Schweizerhof, Dipl.-Math. U. Franz -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
