[issue24899] Add an os.path <=> pathlib equivalence table in pathlib docs

New submission from Ezio Melotti: I think it would be useful to add to the pathlib documentation a table listing os/os.path operations and their pathlib equivalent. This will be useful both for people porting their code to pathlib and for people that already know os/os.path and want to get familiar with pathlib. ---------- assignee: docs@python components: Documentation keywords: easy messages: 248877 nosy: docs@python, ezio.melotti, pitrou priority: normal severity: normal stage: needs patch status: open title: Add an os.path <=> pathlib equivalence table in pathlib docs type: enhancement versions: Python 3.4, Python 3.5, Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Changes by Adam <azsorkin@gmail.com>: ---------- nosy: +azsorkin _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Changes by Nikita Klimov <nikita@klimov.us>: ---------- nosy: +klimov _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Nikita Klimov added the comment: I make a correlation table, plan to finish by September 16 or earlier ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Nikita Klimov added the comment: Patch in attach. Could anybody do review? ---------- keywords: +patch Added file: http://bugs.python.org/file40476/pathlib-os-correlation-doc.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Changes by Ezio Melotti <ezio.melotti@gmail.com>: ---------- assignee: docs@python -> ezio.melotti stage: needs patch -> patch review versions: -Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Camilla Montonen added the comment: This is a good one for beginner patch reviewers, so submitted this to the core-mentorship mailing list. ---------- nosy: +Winterflower _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Jamiel Almeida added the comment: I'm picking this up. ---------- nosy: +slashfoo versions: +Python 3.7 -Python 3.5, Python 3.6 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Changes by Roundup Robot <devnull@psf.upfronthosting.co.za>: ---------- pull_requests: +1840 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Brett Cannon added the comment: New changeset ae8750bca8234a9af9382b9d7e457b57f810ad64 by Brett Cannon (Jamiel Almeida) in branch 'master': bpo-24899: Add comparison table for os.path -> pathlib (GH-1753) https://github.com/python/cpython/commit/ae8750bca8234a9af9382b9d7e457b57f81... ---------- nosy: +brett.cannon _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________

Changes by Brett Cannon <brett@python.org>: ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue24899> _______________________________________
participants (7)
-
Adam
-
Brett Cannon
-
Camilla Montonen
-
Ezio Melotti
-
Jamiel Almeida
-
Nikita Klimov
-
Roundup Robot