On 6/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > it's all okay. i just thought that if it is a "Context", u should have > some destructors - as u call many constructors. otherwise it is not > reentrant - or at least repeatable.
I only call it "context" because Mike uses the word for session contexts, and this is a wrapper around that. To me "context" is a meaningless word like "bind" or "node" or "data": it can mean anything. > But if the idea is that this context will always be one-and-only, > lives forever, and all db-stuff will happen within this one single > instance, then, yeah, no point of destructing anything. Yes, SAContext is pretty much once-per-application. Another kind of "context" would be needed for repeatable black-box testing. -- Mike Orr <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---