As per http://pythonpaste.org/modules/registry.html#paste.registry.StackedObjectProxy_push_object and _pop_object are actually public methods, which use leading underscore to not clash with object's own namespace. Pushing own instances (and in case of app_globals same instance as one being pushed in request threads) should not cause any problems or performance issues, since its intended usage of StackedObjectProxies
On Fri, Jul 30, 2010 at 4:36 AM, Chris Angove <[email protected]>wrote: > That does indeed work. I am not in love with the idea of using > internal functions (_push_object), but as I see no other solution to > the problem I will go with it. Is this something that might be fixed > in a patch someday? > -- With best regards, Daniel Kluev -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
