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: Update documentation for Pathlib
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, miss-islington, pitrou, thatiparthy
Priority: normal Keywords: patch

Created on 2020-06-21 16:22 by thatiparthy, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 21261 merged thatiparthy, 2020-07-01 15:32
PR 21863 merged miss-islington, 2020-08-13 19:52
PR 21864 merged pitrou, 2020-08-13 19:55
Messages (4)
msg372001 - (view) Author: Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) (thatiparthy) * Date: 2020-06-21 16:22
The correspondence section between os, os.path vs pathlib is missing two entries.

https://docs.python.org/3/library/pathlib.html#correspondence-to-tools-in-the-os-module

1. os.link vs path.link_to
2. os.path.listdir vs path.iterdir

I think adding them would be a good addition.
msg375336 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2020-08-13 19:52
New changeset 0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece by Srinivas Reddy Thatiparthy (శ్రీనివాస్  రెడ్డి తాటిపర్తి) in branch 'master':
bpo-41066: Update the comparison section for os vs pathlib (GH-21261)
https://github.com/python/cpython/commit/0eb9deb4a62e6d9daa82bc2f67d1075864ca8ece
msg375337 - (view) Author: miss-islington (miss-islington) Date: 2020-08-13 19:59
New changeset 3dd1153b9963cc7fc74ba2fa5bf2be46f154c613 by Miss Islington (bot) in branch '3.9':
bpo-41066: Update the comparison section for os vs pathlib (GH-21261)
https://github.com/python/cpython/commit/3dd1153b9963cc7fc74ba2fa5bf2be46f154c613
msg375339 - (view) Author: miss-islington (miss-islington) Date: 2020-08-13 20:03
New changeset 43b3e4c32976bf069241ad8bb174929a816ee7ba by Antoine Pitrou in branch '3.8':
[3.8] bpo-41066: Update the comparison section for os vs pathlib (GH-21261) (GH-21864)
https://github.com/python/cpython/commit/43b3e4c32976bf069241ad8bb174929a816ee7ba
History
Date User Action Args
2022-04-11 14:59:32adminsetgithub: 85238
2020-08-13 20:06:15pitrousetversions: - Python 3.7
2020-08-13 20:05:44thatiparthysetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2020-08-13 20:03:25miss-islingtonsetmessages: + msg375339
2020-08-13 19:59:10miss-islingtonsetmessages: + msg375337
2020-08-13 19:55:55pitrousetpull_requests: + pull_request20991
2020-08-13 19:52:22miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request20990
2020-08-13 19:52:13pitrousetmessages: + msg375336
2020-07-03 05:26:08xtreaksetnosy: + pitrou
2020-07-01 15:32:35thatiparthysetkeywords: + patch
stage: patch review
pull_requests: + pull_request20409
2020-06-21 16:22:18thatiparthycreate