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

2010-09-15 Thread James Mills
On Thu, Sep 16, 2010 at 10:02 AM, John Nagle na...@animats.com wrote: On 9/15/2010 4:44 PM, python-dev-requ...@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

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

2010-09-15 Thread Chris McDonough
It's, e.g. b'8080' .. 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

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

2010-09-15 Thread James Mills
On Thu, Sep 16, 2010 at 11:05 AM, Chris McDonough chr...@plope.com wrote: It's, e.g. b'8080' .. 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