[Web-SIG] [Python-Dev] Add PEP 444, Python Web3 Interface.
prologic at shortcircuit.net.au
Thu Sep 16 03:31:31 CEST 2010
On Thu, Sep 16, 2010 at 11:05 AM, Chris McDonough <chrism at plope.com> wrote:
> 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.
If this is to be "standard" - that is the SERVER_PORT be specified as
bytes representing the numerical port (tcp)
then I support this. In the case of unix sockets it could be a null
byte string, eg: b""
-- James Mills
-- "Problems are solved by method"
More information about the Web-SIG