[Zope-Coders] Environment variables

Matt Behrens matt@zigg.com
Mon, 29 Apr 2002 15:02:09 -0400


On Mon, Apr 29, 2002 at 03:59:15PM +0100, Toby Dickenson wrote:

> On Monday 29 Apr 2002 1:56 pm, Matt Behrens wrote:

> >Since this would (I assume) involve
> >putting this into the globally available namespace, and probably
> >has lots of ramifications I don't understand, I'd like an experienced
> >commentary on how best to do this.

> Does it need to be global? If I write a product that uses a few configuration 
> options, wouldnt it be natural to create a new instance of a ConfigParser 
> class just to handle those options?

Yes, because supporting command-line overrides of everything is
pretty important, I think.