At 05:13 PM 1/7/2011 +1100, Graham Dumpleton wrote:
>The version at:
> 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)
>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.