diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-10-08 02:44:31 +0000 |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-10-08 02:44:31 +0000 |
commit | 6af9697079bd0779aee388ac306bad9cbe400501 (patch) | |
tree | f64776277e61b747f83db816c164c4148008827d /Lib/os2emxpath.py | |
parent | 56089ae5eb3fe465a2bb72b4dcbe46f966f75430 (diff) | |
download | cpython-6af9697079bd0779aee388ac306bad9cbe400501.tar.gz |
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/os2emxpath.py')
-rw-r--r-- | Lib/os2emxpath.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/os2emxpath.py b/Lib/os2emxpath.py index a539a82609..616d474c65 100644 --- a/Lib/os2emxpath.py +++ b/Lib/os2emxpath.py @@ -11,7 +11,8 @@ import stat __all__ = ["normcase","isabs","join","splitdrive","split","splitext", "basename","dirname","commonprefix","getsize","getmtime", "getatime","islink","exists","isdir","isfile","ismount", - "walk","expanduser","expandvars","normpath","abspath","splitunc"] + "walk","expanduser","expandvars","normpath","abspath","splitunc", + "supports_unicode_filenames"] # Normalize the case of a pathname and map slashes to backslashes. # Other normalizations (such as optimizing '../' away) are not done @@ -400,3 +401,5 @@ def abspath(path): if not isabs(path): path = join(os.getcwd(), path) return normpath(path) + +supports_unicode_filenames = False |