[Python-Dev] Time-out in URL Open (original) (raw)
Nick Craig-Wood nick at craig-wood.com
Wed Jul 5 19:57:33 CEST 2006
- Previous message: [Python-Dev] Time-out in URL Open
- Next message: [Python-Dev] Time-out in URL Open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alex Martelli <aleaxit at gmail.com> wrote:
What about doing it with a per-thread-timeout in TLS (overriding the global one if a thread does have it set in its TLS)? Not as clean, but perhaps far easier to implement than patching dozens of modules/functions/classes to provide timeout= options everywhere...
Yes please!
I wrote a sketch of a module which did this on c.l.py recently
It would be much better if it had help from the core though.
-- Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick
- Previous message: [Python-Dev] Time-out in URL Open
- Next message: [Python-Dev] Time-out in URL Open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]