[Python-Dev] socket.try_reuse_address() (original) (raw)
Trent Nelson tnelson at onresolve.com
Wed Apr 30 19:42:48 CEST 2008
- Previous message: [Python-Dev] socket.try_reuse_address()
- Next message: [Python-Dev] socket.try_reuse_address()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
if os.name == "nt": socketmethods = socketmethods + ('ioctl',) + iswindows = True +elif os.name == 'java': + from java.lang import System + iswindows = 'windows' in System.getProperty('os.name').lower() +elif os.name == 'posix' and sys.platform == 'cygwin': + iswindows = True
Oops, that last line should have been:
elif os.name == 'ce' or (os.name == 'posix' and sys.platform == 'cygwin'): _is_windows = True
- Previous message: [Python-Dev] socket.try_reuse_address()
- Next message: [Python-Dev] socket.try_reuse_address()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]