Commit 67c65b29 authored by Guido van Rossum's avatar Guido van Rossum

Special-case _P_WAIT etc. for NT.

parent 8e47306b
...@@ -42,10 +42,13 @@ elif 'nt' in _names: ...@@ -42,10 +42,13 @@ elif 'nt' in _names:
curdir = '.'; pardir = '..'; sep = '\\'; pathsep = ';' curdir = '.'; pardir = '..'; sep = '\\'; pathsep = ';'
defpath = '.;C:\\bin' defpath = '.;C:\\bin'
from nt import * from nt import *
try: for i in ['_exit',
from nt import _exit '_P_WAIT', '_P_NOWAIT', '_P_OVERLAY',
except ImportError: '_P_NOWAITO', '_P_DETACH']:
pass try:
exec "from nt import " + i
except ImportError:
pass
import ntpath import ntpath
path = ntpath path = ntpath
del ntpath del ntpath
......
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