diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-10-08 02:44:31 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-10-08 02:44:31 (GMT) |
commit | 8696ebcd28d38f74ee0ffa2cd82d9db1c0bad8df (patch) | |
tree | 1d688f1ea3f3b785a19760dd1477b796370c698d /Lib/posixpath.py | |
parent | 20eae69a9fb5b5453f9ddf01600f99fd6ffffed7 (diff) | |
download | cpython-8696ebcd28d38f74ee0ffa2cd82d9db1c0bad8df.zip cpython-8696ebcd28d38f74ee0ffa2cd82d9db1c0bad8df.tar.gz cpython-8696ebcd28d38f74ee0ffa2cd82d9db1c0bad8df.tar.bz2 |
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.
Diffstat (limited to 'Lib/posixpath.py')
-rw-r--r-- | Lib/posixpath.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py index d5d2621..bf15390 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -17,7 +17,7 @@ __all__ = ["normcase","isabs","join","splitdrive","split","splitext", "basename","dirname","commonprefix","getsize","getmtime", "getatime","islink","exists","isdir","isfile","ismount", "walk","expanduser","expandvars","normpath","abspath", - "samefile","sameopenfile","samestat"] + "samefile","sameopenfile","samestat","supports_unicode_filenames"] # Normalize the case of a pathname. Trivial in Posix, string.lower on Mac. # On MS-DOS this may also turn slashes into backslashes; however, other @@ -409,3 +409,6 @@ symbolic links encountered in the path.""" return realpath(newpath) return filename + +supports_unicode_filenames = False + |