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.

Author karaV
Recipients karaV
Date 2017-08-24.13:23:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503581032.08.0.747369734546.issue31269@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-08-24 13:23:52karaVsetrecipients: + karaV
2017-08-24 13:23:52karaVsetmessageid: <1503581032.08.0.747369734546.issue31269@psf.upfronthosting.co.za>
2017-08-24 13:23:52karaVlinkissue31269 messages
2017-08-24 13:23:51karaVcreate