Mercurial > cpython-lru_cache-weakref
diff Lib/socket.py @ 29066:90342f395721 legacy-trunk
Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sat, 10 May 2003 07:36:56 +0000 |
| parents | 39f4b97ce828 |
| children | ed70779f6402 |
line wrap: on
line diff
--- a/Lib/socket.py Sat May 10 07:10:12 2003 +0000 +++ b/Lib/socket.py Sat May 10 07:36:56 2003 +0000 @@ -96,7 +96,6 @@ errorTab[10065] = "The host is unreachable." __all__.append("errorTab") -del os, sys def getfqdn(name=''): @@ -139,6 +138,9 @@ 'sendall', 'setblocking', 'settimeout', 'gettimeout', 'shutdown') +if sys.platform == "riscos": + _socketmethods = _socketmethods + ('sleeptaskw',) + class _closedsocket(object): __slots__ = [] def _dummy(*args):
