scope of socket.setdefaulttimeout?

Steve Holden steve at holdenweb.com
Fri Sep 30 09:50:39 CEST 2005


Russell Warren wrote:
> Does anyone know the scope of the socket.setdefaulttimeout call?  Is it
> a cross-process/system setting or does it stay local in the application
> in which it is called?
> 
> I've been testing this and it seems to stay in the application scope,
> but the paranoid side of me thinks I may be missing something... any
> confirmation would be helpful.
> 
Yes, it's an application setting, you aren't changing things for anyone 
else.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/




More information about the Python-list mailing list