Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue28682

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Bytes support in os.fwalk()
Type:enhancementStage:resolved
Components:Library (Lib)Versions:Python 3.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: larry, loewis, neologix, serhiy.storchaka, vstinner, zmedico, ztane
Priority:normalKeywords:patch

Created on2016-11-13 09:24 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
fwalk-bytes.patchserhiy.storchaka,2016-11-13 09:24review
Pull Requests
URLStatusLinkedEdit
PR 489mergedserhiy.storchaka,2017-03-05 22:27
Messages (4)
msg280690 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2016-11-13 09:24
os.walk() supports string and bytes paths, but os.fwalk() always supported only string paths. Proposed patch adds support of bytes paths in os.fwalk().
msg281760 -(view)Author: Antti Haapala (ztane)*Date: 2016-11-26 09:02
shouldn't this get in sooner, as the 3.5.2 documentation says that it behaves exactly like `os.walk`, with some additions, none of which says "bytes paths are not supported". This looks like a bug to me.
msg281819 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2016-11-27 11:00
Bytes path support is os.walk() is not documented. Actual behavior of os.fwalk() doesn't contradict the documentation.
msg290278 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2017-03-24 22:43
New changeset8f6b344d368c15c3fe56c65c2f2776e7766fef55 by Serhiy Storchaka in branch 'master':bpo-28682: Added support for bytes paths in os.fwalk(). (#489)https://github.com/python/cpython/commit/8f6b344d368c15c3fe56c65c2f2776e7766fef55
History
DateUserActionArgs
2022-04-11 14:58:39adminsetgithub: 72868
2017-03-24 22:43:36serhiy.storchakasetmessages: +msg290278
2017-03-17 21:05:32larrysetpull_requests: -pull_request580
2017-03-17 21:00:32larrysetpull_requests: +pull_request580
2017-03-08 15:24:23serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2017-03-05 22:27:15serhiy.storchakasetpull_requests: +pull_request402
2017-01-03 14:36:05vstinnersetnosy: +vstinner
2016-12-26 19:55:22serhiy.storchakasetnosy: +neologix
2016-11-27 11:00:28serhiy.storchakasetmessages: +msg281819
2016-11-26 09:02:22ztanesetnosy: +ztane
messages: +msg281760
2016-11-23 21:26:30zmedicosetnosy: +zmedico
2016-11-13 09:24:10serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp