[Web-SIG] Declaring PEP 3333 accepted (was: PEP 444 != WSGI 2.0)

P.J. Eby pje at telecommunity.com
Fri Jan 7 16:47:33 CET 2011

At 05:13 PM 1/7/2011 +1100, Graham Dumpleton wrote:
>The version at:
>still shows:
>         elif not headers_sent:
>              # Before the first output, send the stored headers
>              status, response_headers = headers_sent[:] = headers_set
>              sys.stdout.write('Status: %s\r\n' % status)
>              for header in response_headers:
>                  sys.stdout.write('%s: %s\r\n' % header)
>              sys.stdout.write('\r\n')
>so not using buffer there and also not converting strings written for
>headers to bytes.

Fixed in SVN now.  The main issue now is that we need to fix the 
re-raises and error handling for Python 3, in the text and examples.

I also found some references for with_traceback() and I think I've 
got that sorted now, but if someone can check my work that'd be a good idea.

More information about the Web-SIG mailing list