Commit 18df5d47 authored by Guido van Rossum's avatar Guido van Rossum

Mark Hammond: patch for Windows/CE.

parent 4afdb0a8
......@@ -89,6 +89,21 @@ elif 'mac' in _names:
import macpath
path = macpath
del macpath
elif 'ce' in _names:
name = 'ce'
linesep = '\r\n'
curdir = '.'; pardir = '..'; sep = '\\'; pathsep = ';'
defpath = '\\Windows'
from ce import *
for i in ['_exit']:
try:
exec "from ce import " + i
except ImportError:
pass
# We can use the standard Windows path.
import ntpath
path = ntpath
del ntpath
else:
raise ImportError, 'no os specific module found'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment