mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
RISCOS changes by dschwertberger.
This commit is contained in:
parent
4ba3d657ef
commit
d74fb6b12a
6 changed files with 64 additions and 24 deletions
|
@ -48,7 +48,8 @@ __all__.extend(os._get_exports_list(_socket))
|
|||
del _socket
|
||||
|
||||
if (sys.platform.lower().startswith("win")
|
||||
or (hasattr(os, 'uname') and os.uname()[0] == "BeOS")):
|
||||
or (hasattr(os, 'uname') and os.uname()[0] == "BeOS")
|
||||
or (sys.platform=="RISCOS")):
|
||||
|
||||
# be sure this happens only once, even in the face of reload():
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue