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.

classification
Title: os.walk mentions os.listdir instead of os.scandir
Type: Stage: resolved
Components: Documentation Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: adelfino, benjamin.peterson, docs@python, miss-islington
Priority: normal Keywords:

Created on 2018-04-01 19:21 by adelfino, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 6335 merged adelfino, 2018-04-01 19:21
PR 6359 merged miss-islington, 2018-04-03 02:50
PR 6360 merged miss-islington, 2018-04-03 02:51
Messages (4)
msg314786 - (view) Author: Andrés Delfino (adelfino) * (Python triager) Date: 2018-04-01 19:21
Documentation states that, for walk, "errors from the listdir() call are ignored". That's no longer the case since 3.5. Change mention to listdir() to scandir().
msg314852 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2018-04-03 02:48
New changeset badb894bbbb8aaa8b669c4a6f675a0bc7d98e188 by Benjamin Peterson (Andrés Delfino) in branch 'master':
closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir (GH-6335)
https://github.com/python/cpython/commit/badb894bbbb8aaa8b669c4a6f675a0bc7d98e188
msg314855 - (view) Author: miss-islington (miss-islington) Date: 2018-04-03 03:33
New changeset f6d1d65803f290dfe14048f17d8125f8093a61ec by Miss Islington (bot) in branch '3.7':
closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir (GH-6335)
https://github.com/python/cpython/commit/f6d1d65803f290dfe14048f17d8125f8093a61ec
msg314857 - (view) Author: miss-islington (miss-islington) Date: 2018-04-03 03:39
New changeset fa5157e0499f7afdb59e220e3f4fdbf44adb5ac8 by Miss Islington (bot) in branch '3.6':
closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir (GH-6335)
https://github.com/python/cpython/commit/fa5157e0499f7afdb59e220e3f4fdbf44adb5ac8
History
Date User Action Args
2022-04-11 14:58:59adminsetgithub: 77383
2018-04-03 03:39:17miss-islingtonsetmessages: + msg314857
2018-04-03 03:33:40miss-islingtonsetnosy: + miss-islington
messages: + msg314855
2018-04-03 02:51:02miss-islingtonsetpull_requests: + pull_request6071
2018-04-03 02:50:04miss-islingtonsetpull_requests: + pull_request6070
2018-04-03 02:48:56benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg314852

resolution: fixed
stage: resolved
2018-04-01 19:21:50adelfinocreate