[Web-SIG] Any practical reason type(environ) must be dict (not subclass)?

2016-03-24 Thread Jason Madden
Hi all, Is there any practical reason that the type of the `environ` object must be exactly `dict`, as specified in PEP? I'm asking because it was recently pointed out that gevent's WSGI server can sometimes print `environ` (on certain error cases), but that can lead to sensitive inform

Re: [Web-SIG] Any practical reason type(environ) must be dict (not subclass)?

2016-03-24 Thread Alan Kennedy
I don't see this relevant message in your references. https://mail.python.org/pipermail/web-sig/2004-September/000749.html Perhaps that, and following messages, might shed more light? On Thu, Mar 24, 2016 at 3:18 PM, Jason Madden wrote: > Hi all, > > > Is there any practical reason that the ty

Re: [Web-SIG] Any practical reason type(environ) must be dict (not subclass)?

2016-03-24 Thread Jason Madden
> On Mar 24, 2016, at 11:09, Alan Kennedy wrote: > > I don't see this relevant message in your references. > > https://mail.python.org/pipermail/web-sig/2004-September/000749.html > > Perhaps that, and following messages, might shed more light? Yes, thank you, I did miss that thread. It does