summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2016-09-05 22:11:23 (GMT)
committerLarry Hastings <larry@hastings.org>2016-09-05 22:11:23 (GMT)
commit10108a7b9affa61719a1dc1863edb2bdb3402fd1 (patch)
treef36ecf8b8a8974ac2e2659e97f6bd8a111149a29 /Lib/os.py
parent8c21ab0ab92d7f10a7ada9d5f157ee69c9095e63 (diff)
downloadcpython-10108a7b9affa61719a1dc1863edb2bdb3402fd1.zip
cpython-10108a7b9affa61719a1dc1863edb2bdb3402fd1.tar.gz
cpython-10108a7b9affa61719a1dc1863edb2bdb3402fd1.tar.bz2
Issue #27355: Removed support for Windows CE. It was never finished,
and Windows CE is no longer a relevant platform for Python.
Diffstat (limited to 'Lib/os.py')
-rw-r--r--Lib/os.py25
1 files changed, 2 insertions, 23 deletions
diff --git a/Lib/os.py b/Lib/os.py
index 307a1de..10d70ad 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -1,9 +1,9 @@
r"""OS routines for NT or Posix depending on what system we're on.
This exports:
- - all functions from posix, nt or ce, e.g. unlink, stat, etc.
+ - all functions from posix or nt, e.g. unlink, stat, etc.
- os.path is either posixpath or ntpath
- - os.name is either 'posix', 'nt' or 'ce'.
+ - os.name is either 'posix' or 'nt'
- os.curdir is a string representing the current directory ('.' or ':')
- os.pardir is a string representing the parent directory ('..' or '::')
- os.sep is the (or a most common) pathname separator ('/' or ':' or '\\')
@@ -85,27 +85,6 @@ elif 'nt' in _names:
except ImportError:
pass
-elif 'ce' in _names:
- name = 'ce'
- linesep = '\r\n'
- from ce import *
- try:
- from ce import _exit
- __all__.append('_exit')
- except ImportError:
- pass
- # We can use the standard Windows path.
- import ntpath as path
-
- import ce
- __all__.extend(_get_exports_list(ce))
- del ce
-
- try:
- from ce import _have_functions
- except ImportError:
- pass
-
else:
raise ImportError('no os specific module found')