[Python-Dev] Add PEP 444, Python Web3 Interface. (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Fri Sep 17 15🔞39 CEST 2010
- Previous message: [Python-Dev] Add PEP 444, Python Web3 Interface.
- Next message: [Python-Dev] problem with python 3.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am 16.09.10 02:02, schrieb John Nagle:
On 9/15/2010 4:44 PM, python-dev-request at python.org wrote:
SERVERPORT
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?
Just interpreting (i.e. not having participated in the specification):
Given the CGI background of all this, SERVER_PORT is an ASCII-encoded decimal rendering of the port number.
As to what problem this solves: I guess it allows for easy pass-through from the web server.
Regards, Martin
- Previous message: [Python-Dev] Add PEP 444, Python Web3 Interface.
- Next message: [Python-Dev] problem with python 3.1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]