]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport bug #1266283: add lexists to os.path.__all__
authorGeorg Brandl <georg@python.org>
Mon, 22 Aug 2005 18:07:04 +0000 (18:07 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 22 Aug 2005 18:07:04 +0000 (18:07 +0000)
Lib/macpath.py
Lib/ntpath.py
Lib/os2emxpath.py
Lib/posixpath.py
Misc/NEWS

index f50f66072d9a4f23d8a6103c93363a4270dadad9..499f1dc2e0e083f96036e0abbf4a6843cffe0a73 100644 (file)
@@ -5,7 +5,7 @@ from stat import *
 
 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
            "basename","dirname","commonprefix","getsize","getmtime",
-           "getatime","getctime", "islink","exists","isdir","isfile",
+           "getatime","getctime", "islink","exists","lexists","isdir","isfile",
            "walk","expanduser","expandvars","normpath","abspath",
            "curdir","pardir","sep","pathsep","defpath","altsep","extsep",
            "devnull","realpath","supports_unicode_filenames"]
index 649e424f26443e38632901ae54213d3a0932525b..e3028ef3c4615c5a1d8c70bcb35805d0a758c98d 100644 (file)
@@ -11,10 +11,10 @@ import sys
 
 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
            "basename","dirname","commonprefix","getsize","getmtime",
-           "getatime","getctime", "islink","exists","isdir","isfile","ismount",
-           "walk","expanduser","expandvars","normpath","abspath","splitunc",
-           "curdir","pardir","sep","pathsep","defpath","altsep","extsep",
-           "devnull","realpath","supports_unicode_filenames"]
+           "getatime","getctime", "islink","exists","lexists","isdir","isfile",
+           "ismount","walk","expanduser","expandvars","normpath","abspath",
+           "splitunc","curdir","pardir","sep","pathsep","defpath","altsep",
+           "extsep","devnull","realpath","supports_unicode_filenames"]
 
 # strings representing various path-related bits and pieces
 curdir = '.'
index 4c64324e9d7400a281997652bc79839845fc7099..71990fbff51cf23a1420a98be6d35bde89fdaa2d 100644 (file)
@@ -10,10 +10,10 @@ import stat
 
 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
            "basename","dirname","commonprefix","getsize","getmtime",
-           "getatime","getctime", "islink","exists","isdir","isfile","ismount",
-           "walk","expanduser","expandvars","normpath","abspath","splitunc",
-           "curdir","pardir","sep","pathsep","defpath","altsep","extsep",
-           "devnull","realpath","supports_unicode_filenames"]
+           "getatime","getctime", "islink","exists","lexists","isdir","isfile",
+           "ismount","walk","expanduser","expandvars","normpath","abspath",
+           "splitunc","curdir","pardir","sep","pathsep","defpath","altsep",
+           "extsep","devnull","realpath","supports_unicode_filenames"]
 
 # strings representing various path-related bits and pieces
 curdir = '.'
index 261e5a7db26fe35c25793240f0c5587250d89c9f..9eac6bc13ebc697798b37aa70bdc4386e5f6b799 100644 (file)
@@ -15,8 +15,8 @@ import stat
 
 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
            "basename","dirname","commonprefix","getsize","getmtime",
-           "getatime","getctime","islink","exists","isdir","isfile","ismount",
-           "walk","expanduser","expandvars","normpath","abspath",
+           "getatime","getctime","islink","exists","lexists","isdir","isfile",
+           "ismount","walk","expanduser","expandvars","normpath","abspath",
            "samefile","sameopenfile","samestat",
            "curdir","pardir","sep","pathsep","defpath","altsep","extsep",
            "devnull","realpath","supports_unicode_filenames"]
index efa67827fbe421a69a1b626cb7936677d3cf6b0e..808d58bb351f13ef94a513f3122c5bbd864d8622 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -63,6 +63,8 @@ Extension Modules
 Library
 -------
 
+- Bug #1266283: "lexists" is now in os.path.__all__.
+
 - The sets module can now properly compute s-=s and s^=s as an empty set.
 
 - Patch #827386: Support absolute source paths in msvccompiler.py.