A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-April/078959.html below:

[Python-Dev] socket.try_reuse_address()

[Python-Dev] socket.try_reuse_address() [Python-Dev] socket.try_reuse_address()Trent Nelson tnelson at onresolve.com
Wed Apr 30 19:42:48 CEST 2008
>  if os.name == "nt":
>      _socketmethods = _socketmethods + ('ioctl',)
> +    _is_windows = True
> +elif os.name == 'java':
> +    from java.lang import System
> +    _is_windows = 'windows' in System.getProperty('os.name').lower()
> +elif os.name == 'posix' and sys.platform == 'cygwin':
> +    _is_windows = True

Oops, that last line should have been:

elif os.name == 'ce' or (os.name == 'posix' and sys.platform == 'cygwin'):
    _is_windows = True
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4