> 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
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com