homepage

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 benhoyt, python-dev, scott.dial, serhiy.storchaka, vstinner
Date 2015年03月10日.16:39:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1753439.yBh0jdpc8m@raxxla>
In-reply-to <CAMpsgwZ9E5bp-gqiv5ZfOndSLJwT5tGeA=tKOt31EDDb9yoLAA@mail.gmail.com>
Content
My first note was about efficiency of the implementation. When followlinks is 
true, you can avoid testing entry.is_link() and creating the symlinks set.
The new implementation of os.walk() changes a behavior. The problem is that a 
symlink to a directory can become a directory. It is documented that the 
caller can remove or add a directory to directory list and for sure this 
feature is used in third-party code. In my example a directory list is even 
not changed, but file system is changed.
I think that majority of uses of os.walk() will be not affected by this change, 
but for sure there is a code that will be broken and we can receive bug 
reports after releasing 3.6.
New behavior also is not consistent with os.fwalk().
History
Date User Action Args
2015年03月10日 16:39:22serhiy.storchakasetrecipients: + serhiy.storchaka, scott.dial, vstinner, benhoyt, python-dev
2015年03月10日 16:39:22serhiy.storchakalinkissue23605 messages
2015年03月10日 16:39:22serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /