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

2016-03-25 Thread Cory Benfield
> On 25 Mar 2016, at 15:04, Jason Madden wrote: > > >> On Mar 25, 2016, at 05:01, Cory Benfield wrote: >> >> Given that gevent is keeping hold of its own reference to the environ, why >> does gevent not simply wrap the environ dict in a class

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

2016-03-25 Thread Jason Madden
> On Mar 25, 2016, at 05:01, Cory Benfield wrote: > > Given that gevent is keeping hold of its own reference to the environ, why > does gevent not simply wrap the environ dict in a class that implements this > functionality directly? In that manner, gevent can expose its

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

2016-03-25 Thread Cory Benfield
> On 24 Mar 2016, at 16:29, Jason Madden wrote: > Well, here's a practical use :) And the two points above do not apply to this > practical use, I think. (1) doesn't apply because `__repr__` is not going to > change and isn't fancy. (2) doesn't apply because

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

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