[Python-Dev] Adding timeout to socket.py and httplib.py (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 23 02:07:55 CET 2007
- Previous message: [Python-Dev] Adding timeout to socket.py and httplib.py
- Next message: [Python-Dev] Adding timeout to socket.py and httplib.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
It's unlikely to be granted. ... The Python call just wraps the system call which has a similar API.
What about letting it accept both?
Maintaining strict consistency with the C API here at the cost of causing pain on almost all uses of the function seems to be a case of purity beating practicality.
-- Greg
- Previous message: [Python-Dev] Adding timeout to socket.py and httplib.py
- Next message: [Python-Dev] Adding timeout to socket.py and httplib.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]