This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: lexists() is not exported from os.path
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: blais, georg.brandl, georg.brandl
Priority: normal Keywords:

Created on 2005-08-22 15:21 by blais, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg26098 - (view) Author: Martin Blais (blais) * (Python committer) Date: 2005-08-22 15:21
I'm not quite sure if this is desired, but looking at
posixpath.py it looks like a bug:  lexists() is not in
__all__, and so

from os.path import *
...
lexists(...)

does not work.

msg26099 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-08-22 18:08
Logged In: YES 
user_id=1188172

Thanks for the report, fixed in 2.5 and 2.4 branches as

Lib/macpath.py; 1.52; 1.50.2.1
Lib/ntpath.py; 1.63; 1.61.2.1
Lib/os2emxpath.py; 1.15; 1.13.2.1
Lib/posixpath.py; 1.75; 1.73.2.2

History
Date User Action Args
2022-04-11 14:56:12adminsetgithub: 42295
2005-08-22 15:21:45blaiscreate