[Web-SIG] [Python-Dev] Add PEP 444, Python Web3 Interface.

Chris McDonough chrism at plope.com
Thu Sep 16 03:05:16 CEST 2010

It's, e.g.


.. instead of the integer value 8080.

Apparently the type of this value was not spelled out sufficiently in
the WSGI spec and string values and integer values were used
interchangeably, making it harder to join them with the other values in
the environ (a common thing to want to do).  Bytes instances are
attractive, as the rest of the values are also bytes, so they can be
joined together easily.

(I also redirected this to web-sig at the request of PJE).
- C

On Wed, 2010-09-15 at 17:02 -0700, John Nagle wrote:
> On 9/15/2010 4:44 PM, python-dev-request at python.org wrote:
> > ``SERVER_PORT`` must be a bytes instance (not an integer).
>     What's that supposed to mean?  What goes in the "bytes
> instance"?  A character string in some format?  A long binary
> number?  If the latter, with which byte ordering?  What
> problem does this\ solve?
> 					John Nagle
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/lists%40plope.com

More information about the Web-SIG mailing list