-
-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-28682: Added support for bytes paths in os.fwalk(). #489
bpo-28682: Added support for bytes paths in os.fwalk(). #489
Conversation
@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @birkenfeld, @Haypo, @benjaminp, @larryhastings and @brettcannon to be potential reviewers. |
Lib/test/test_os.py
Outdated
"""Tests for os.walk() with bytes.""" | ||
def setUp(self): | ||
super().setUp() | ||
self.stack = contextlib.ExitStack() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of self.stack?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not needed. This is just a copy from BytesWalkTests. But in BytesWalkTests it is not needed either. It was used in the past for silencing deprecation warnings about using Windows bytes API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's not used, please remove it. Remove it also from BytesWalkTests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh sorry, you already did it, thanks :-)
Bumps [cachetools](https://github.com/tkem/cachetools) from 4.2.2 to 4.2.4. - [Release notes](https://github.com/tkem/cachetools/releases) - [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst) - [Commits](tkem/cachetools@v4.2.2...v4.2.4) --- updated-dependencies: - dependency-name: cachetools dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
No description provided.