From 8696ebcd28d38f74ee0ffa2cd82d9db1c0bad8df Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Tue, 8 Oct 2002 02:44:31 +0000 Subject: Add os.path.supports_unicode_filenames for all platforms, sys.getwindowsversion() on Windows (new enahanced Tim-proof version), and fix test_pep277.py in a few minor ways. Including doc and NEWS entries. --- Lib/macpath.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Lib/macpath.py') diff --git a/Lib/macpath.py b/Lib/macpath.py index 85468928770..f19b4f7652f 100644 --- a/Lib/macpath.py +++ b/Lib/macpath.py @@ -6,7 +6,8 @@ from stat import * __all__ = ["normcase","isabs","join","splitdrive","split","splitext", "basename","dirname","commonprefix","getsize","getmtime", "getatime","islink","exists","isdir","isfile", - "walk","expanduser","expandvars","normpath","abspath"] + "walk","expanduser","expandvars","normpath","abspath", + "supports_unicode_filenames"] # Normalize the case of a pathname. Dummy in Posix, but .lower() here. @@ -248,3 +249,5 @@ def realpath(path): path = join(path, c) path = macfs.ResolveAliasFile(path)[0].as_pathname() return path + +supports_unicode_filenames = False -- cgit v1.2.3