Apologies for not following most of the conversation, but just thought I'd
mention that in the past I've done:
def main(global_conf, **app_settings):
settings = global_conf.copy()
settings.update(app_settings)
Which allows you to override settings in your app if you want while still
specifying common setup in [DEFAULT].
Pyramid just uses PasteDeploy to parse the INI file, so any 'set' semantics
will still work. Since the settings are not combined by Pyramid, however, I
don't think you will gain much by using 'set' over the code I showed above.
--
Michael
--
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.