Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lexists() is not exported from os.path #42295

Closed
blais mannequin opened this issue Aug 22, 2005 · 2 comments
Closed

lexists() is not exported from os.path #42295

blais mannequin opened this issue Aug 22, 2005 · 2 comments
Assignees

Comments

@blais
Copy link
Mannequin

blais mannequin commented Aug 22, 2005

BPO 1266283
Nosy @birkenfeld, @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2005-08-22.18:08:12.000>
created_at = <Date 2005-08-22.15:21:45.000>
labels = []
title = 'lexists() is not exported from os.path'
updated_at = <Date 2005-08-22.18:08:12.000>
user = 'https://bugs.python.org/blais'

bugs.python.org fields:

activity = <Date 2005-08-22.18:08:12.000>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = None
closer = None
components = ['None']
creation = <Date 2005-08-22.15:21:45.000>
creator = 'blais'
dependencies = []
files = []
hgrepos = []
issue_num = 1266283
keywords = []
message_count = 2.0
messages = ['26098', '26099']
nosy_count = 3.0
nosy_names = ['georg.brandl', 'georg.brandl', 'blais']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1266283'
versions = []

@blais
Copy link
Mannequin Author

blais mannequin commented Aug 22, 2005

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.

@blais blais mannequin closed this as completed Aug 22, 2005
@blais blais mannequin assigned birkenfeld Aug 22, 2005
@birkenfeld
Copy link
Member

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

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant