[Web-SIG] PEP 444 (aka Web3)
g.brandl at gmx.net
Fri Sep 17 10:29:31 CEST 2010
Am 16.09.2010 20:00, schrieb Ian Bicking:
> On Thu, Sep 16, 2010 at 12:35 PM, Guido van Rossum
> <guido at python.org
> <mailto:guido at python.org>> wrote:
> On Thu, Sep 16, 2010 at 10:01 AM, Ian Bicking
> <ianb at colorstudy.com
> <mailto:ianb at colorstudy.com>> wrote:
> > Well, reiterating some things I've said before:
> > * This is clearly just WSGI slightly reworked, why the new name?
> > * Why byte values in the environ? No one has offered any real reason they
> > are better than native strings. I keep asking people to offer a reason,
> > *and no one ever does*. It's just hyperbole and distraction. Frankly I'm
> > feeling annoyed. So far my experience makes me believe using native strings
> > will make it easier to port and support libraries across 2 and 3.
> Hm. IIUC the proposal is to implicitly assume Latin1 when decoding the
> bytes to Unicode. I worry that this will just perpetuate mojibake and
> other atrocities committed in Python 2.
> I was reading http://python.org/dev/peps/pep-0444/ -- is there another revision
> under discussion? This seems to explicitly say all environ values will be
> bytes. There have been other str-oriented proposals, including mod_wsgi's
IIUC Guido was referring to your proposal.
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
More information about the Web-SIG