]> granicus.if.org Git - python/commitdiff
Bug #1266283: lexists() is not exported from os.path
authorGeorg Brandl <georg@python.org>
Mon, 22 Aug 2005 18:02:59 +0000 (18:02 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 22 Aug 2005 18:02:59 +0000 (18:02 +0000)
Lib/macpath.py
Lib/ntpath.py
Lib/os2emxpath.py
Lib/posixpath.py
Misc/NEWS

index dc7f753f02760c8b2f665adf9d114cf13b28b247..f93ceb154014fd72355ce68f60eda39d91f32a2b 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 35f266c69be310c19b28a23ff7257482f8b9c9df..5dd5f1a17768e9ea782300cc43126e637afa9ae7 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 5b1cb186e39b4b9db47230a5a332d0ce58b1c3ee..a841422404334edd63a6e24bba489efc564e7dce 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 8b4068ec41b8fa4507d63a62a918eaa192fddef3..592a6222bbd8841e5c5e396c0ede981fd0052fc3 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1692,6 +1692,8 @@ Extension modules
 Library
 -------
 
+- Bug #1266283: The new function "lexists" is now in os.path.__all__.
+
 - Bug #981530: Fix UnboundLocalError in shutil.rmtree().  This affects
   the documented behavior: the function passed to the onerror()
   handler can now also be os.listdir.