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.

Title: remove unneeded handling of '.' and '..' from patlib.Path.iterdir()
Type: Stage: patch review
Components: Library (Lib) Versions:
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: sir-sigurd
Priority: normal Keywords: patch

Created on 2020-06-27 13:07 by sir-sigurd, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 21179 open sir-sigurd, 2020-06-27 13:09
Messages (1)
msg372465 - (view) Author: Sergey Fedoseev (sir-sigurd) * Date: 2020-06-27 13:07
Currently patlib.Path.iterdir() filters out '.' and '..'. 
It's unneeded since patlib.Path.iterdir() uses os.listdir() under the hood, which returns neither '.' nor '..'.
Date User Action Args
2022-04-11 14:59:33adminsetgithub: 85313
2020-06-27 13:09:15sir-sigurdsetkeywords: + patch
stage: patch review
pull_requests: + pull_request20336
2020-06-27 13:07:24sir-sigurdcreate