[Python-Dev] socket.try_reuse_address()

Trent Nelson tnelson at onresolve.com
Tue Apr 29 18:27:43 CEST 2008


> Giampaolo Rodola' wrote:
> > Maybe it would be better considering Windows CE systems too:
> >
> > - if os.name == 'nt'
> > + if os.name in ('nt', 'ce')
> >
> Cygwin? I don't know how Unix-like it is.

Yeah, that's a fair point, it's the behaviour of the underlying Winsock API we're targeting, so it would apply to Cygwin as well.  (And CE and anything else on Windows.)

        Trent.


More information about the Python-Dev mailing list