Re: [Python-Dev] [Python-checkins] cpython: don't depend on __debug__ because it's baked in at freeze time (issue #16046)

2012-09-25 Thread Benjamin Peterson
2012/9/25 Nick Coghlan : > On Wed, Sep 26, 2012 at 1:23 AM, benjamin.peterson > wrote: >> If debug_override is not None, then it must be a boolean and is taken as >> -the value of __debug__ instead. >> +the value of bool(sys.flags.optimize) instead. > > s/bool(sys.flags.optimize)/"not

Re: [Python-Dev] [Python-checkins] cpython: don't depend on __debug__ because it's baked in at freeze time (issue #16046)

2012-09-25 Thread Nick Coghlan
On Wed, Sep 26, 2012 at 1:23 AM, benjamin.peterson wrote: > If debug_override is not None, then it must be a boolean and is taken as > -the value of __debug__ instead. > +the value of bool(sys.flags.optimize) instead. s/bool(sys.flags.optimize)/"not sys.flags.optimize"/? It may be b

Re: [Python-Dev] Better HTTP 1.1 support in http.server?

2012-09-25 Thread David Wilson
On 24 September 2012 19:39, Christian Heimes wrote: > Am 24.09.2012 17:27, schrieb Antoine Pitrou: >> >> Hello, >> >> I was wondering if it would be worth providing better HTTP 1.1 support >> in http.server. The way I envision it, there would be a separate >> HTTP11RequestHandler which would provi