[Web-SIG] Standardised configuration and temporary directories.

Phillip J. Eby pje at telecommunity.com
Mon Sep 6 15:53:27 CEST 2004


At 10:56 PM 9/5/04 +0100, Alan Kennedy wrote:
>2. Standardised parameter configuration and specification.
>[snip]
>
>Perhaps a simple solution would be to add wording like the following to 
>the PEP:
>
>"""
>WSGI compliant servers must provide a simple mechanism for users to place 
>name/value pairs in the WSGI environment, without modification or 
>transformation. This is to make it easy for users to gather all middleware 
>(i.e. server-independent) configuration under one centralized 
>configuration mechanism.
>"""

I could go for something like this as a *should*, as long as it was 
explained that the simplest possible implementation is to simply include 
operating system environment variables in 'environ'.  (And at that point, 
your desire for temporary directory info might be met by simply using 
'environ["TMP"]'!)



More information about the Web-SIG mailing list