[New-bugs-announce] [issue31269] bug in islink() and is_simlink()
Karine
report at bugs.python.org
Thu Aug 24 09:23:52 EDT 2017
New submission from Karine:
Hi,
I found a problem which can be a bug and want to inform you.
it seems os.islink() and PATH(mypath).is_symlink() functions doen't work correct when there is linked folder inside the path:
For example I have the following path:
a/b/c/test.txt
if my c folder is link these 2 functions will not show that this path is link
Only if i remove test.txt and use a/b/c path is shows that path is link.
Seems these functions checks only last part of given path not full path and doesn't find if there is link in somewere inside path and shows not correct result.
Interesting to know your opinion regarding it.
----------
messages: 300782
nosy: karaV
priority: normal
severity: normal
status: open
title: bug in islink() and is_simlink()
type: enhancement
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31269>
_______________________________________
More information about the New-bugs-announce
mailing list