Add os.path.supports_unicode_filenames for all platforms,
sys.getwindowsversion() on Windows (new enahanced Tim-proof <wink>
version), and fix test_pep277.py in a few minor ways.
Including doc and NEWS entries.
diff --git a/Lib/dospath.py b/Lib/dospath.py
index f613a63..345b940 100644
--- a/Lib/dospath.py
+++ b/Lib/dospath.py
@@ -6,7 +6,8 @@
__all__ = ["normcase","isabs","join","splitdrive","split","splitext",
"basename","dirname","commonprefix","getsize","getmtime",
"getatime","islink","exists","isdir","isfile","ismount",
- "walk","expanduser","expandvars","normpath","abspath"]
+ "walk","expanduser","expandvars","normpath","abspath",
+ "supports_unicode_filenames"]
def normcase(s):
"""Normalize the case of a pathname.
@@ -336,3 +337,4 @@
# realpath is a no-op on systems without islink support
realpath = abspath
+supports_unicode_filenames = False