opensubscriber
   Find in this group all groups
 
Unknown more information…

w : web-sig@python.org 7 January 2011 • 11:47PM -0500

Re: [Web-SIG] Declaring PEP 3333 accepted (was: PEP 444 != WSGI 2.0)
by P.J. Eby

REPLY TO AUTHOR
 
REPLY TO GROUP




At 05:13 PM 1/7/2011 +1100, Graham Dumpleton wrote:
>The version at:
>
>http://svn.python.org/projects/peps/trunk/pep-3333.txt
>
>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.

_______________________________________________
Web-SIG mailing list
Web-SIG@pyth...
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: http://mail.python.org/mailman/options/web-sig/subscriber%40opensubscriber.com

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.