8000 bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str by rekyungmin · Pull Request #28323 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-45192: Fix a bug that infers the type of an os.PathLike[bytes] object as str #28323

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

Merged
merged 4 commits into from
Oct 20, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
bpo-45192: Update Misc/NEWS.d
  • Loading branch information
rekyungmin committed Sep 17, 2021
commit 427da5674e9c734763d12a9e7126f817d0f62acd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Fix the ``tempfile._infer_return_type`` function so that the ``dir``
argument of the :mod:`tempfile` functions accepts an object implementing the
``os.PathLike[bytes]`` protocol.
``os.PathLike`` protocol.

Patch by Kyungmin Lee.
0