[Web-SIG] Request for Comments on upcoming WSGI Changes

Georg Brandl g.brandl at gmx.net
Mon Sep 21 10:46:26 CEST 2009


René Dudfield schrieb:
> On Mon, Sep 21, 2009 at 8:10 AM, Chris McDonough <chrism-ccARneWBNkgAvxtiuMwx3w at public.gmane.org> wrote:
>>
>> OTOH, I suspect the Python 3 stdlib is still broken if it requires native
>> strings in various places (and prohibits the use of bytes).
> 
> yes, python3 stdlib should support 'str'(the old unicode), 'buffer'
> and 'bytes' for web using stuff.  Buffer is important because it's a
> type also used for sockets(along with bytes) and it allows less memory
> allocation (because you can reuse buffers).

Please don't confuse readers and use the correct name, i.e. 'bytearray'
instead of 'buffer'.

Georg



More information about the Web-SIG mailing list