Migrate definitions of several platform-dependent path-related variables
into the relevant path modules. See patch #686397.
diff --git a/Lib/macpath.py b/Lib/macpath.py
index e8ac467..8277d41 100644
--- a/Lib/macpath.py
+++ b/Lib/macpath.py
@@ -7,8 +7,18 @@
"basename","dirname","commonprefix","getsize","getmtime",
"getatime","getctime", "islink","exists","isdir","isfile",
"walk","expanduser","expandvars","normpath","abspath",
+ "curdir","pardir","sep","pathsep","defpath","altsep","extsep",
"realpath","supports_unicode_filenames"]
+# strings representing various path-related bits and pieces
+curdir = ':'
+pardir = '::'
+extsep = '.'
+sep = ':'
+pathsep = '\n'
+defpath = ':'
+altsep = None
+
# Normalize the case of a pathname. Dummy in Posix, but <s>.lower() here.
def normcase(path):