Issue 33202: os.walk mentions os.listdir instead of os.scandir (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/77383

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:59 admin set github: 77383
2018-04-03 03:39:17 miss-islington set messages: +
2018-04-03 03:33:40 miss-islington set nosy: + miss-islingtonmessages: +
2018-04-03 02:51:02 miss-islington set pull_requests: + <pull%5Frequest6071>
2018-04-03 02:50:04 miss-islington set pull_requests: + <pull%5Frequest6070>
2018-04-03 02:48:56 benjamin.peterson set status: open -> closednosy: + benjamin.petersonmessages: + resolution: fixedstage: resolved
2018-04-01 19:21:50 adelfino create