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 serhiy.storchaka
Recipients Robin Roth, berker.peksag, drawks, loewis, pablo.sole, pitrou, rossburton, serhiy.storchaka
Date 2016-06-03.10:06:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
What if use os.stat(dirname(path)) instead of os.lstat(parent)?

-    if isinstance(path, bytes):
-        parent = join(path, b'..')
-    else:
-        parent = join(path, '..')
-        s2 = os.lstat(parent)
+        s2 = os.stat(dirname(path))
     except OSError:
         return False
Date User Action Args
2016-06-03 10:06:09serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, pitrou, rossburton, drawks, berker.peksag, pablo.sole, Robin Roth
2016-06-03 10:06:09serhiy.storchakasetmessageid: <>
2016-06-03 10:06:09serhiy.storchakalinkissue2466 messages
2016-06-03 10:06:09serhiy.storchakacreate