Author steve.dower
Recipients antoine.pietri, larry, mshuffett, ned.deily, pitrou, richardc, serhiy.storchaka, steve.dower, zopieux
Date 2017-05-31.23:27:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The initial fix should be easy:

--- a/Lib/
+++ b/Lib/
@@ -329,8 +329,6 @@ class _PosixFlavour(_Flavour):
                     if e.errno != EINVAL:
                         if strict:
-                        else:
-                            return newpath
                     # Not a symlink
                     path = newpath

However, the trick is going to be in the tests, which are shared between POSIX and Windows - and are apparently passing on Windows right now. I'm not entirely sure why that is, but it may not be as simple here as "works on POSIX".
Date User Action Args
2017-05-31 23:27:08steve.dowersetrecipients: + steve.dower, pitrou, larry, ned.deily, serhiy.storchaka, antoine.pietri, mshuffett, zopieux, richardc
2017-05-31 23:27:08steve.dowersetmessageid: <>
2017-05-31 23:27:08steve.dowerlinkissue30177 messages
2017-05-31 23:27:08steve.dowercreate