[Python-Dev] PEP 3333: wsgi_string() function

Stephen J. Turnbull stephen at xemacs.org
Fri Jan 7 14:02:04 CET 2011

Victor Stinner writes:

 > It doesn't work and so something has to be changed.

What specific bug have you observed?

Everybody hates this hack, or at the very least is somewhat
embarrassed by it, but the working group clearly believes that it
works and something like it is necessary.  They've studied it for

To get rid of it, "somebody" needs to demonstrate a bug, and propose
something better, plus implement it in code, plus fix any tests that
expect Unicode and now get bytes, plus create any additional tests
that may be necessitated by changing from a Unicode representation to
a bytes representation.

I hate it too, but not enough to to ask anybody to do any of the above
without a real bug.

More information about the Python-Dev mailing list