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: Add `os.makedirs()` as `Path.mkdir()` equivalent in correspondence table
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, jack1142
Priority: normal Keywords:

Created on 2020-01-01 16:53 by jack1142, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg359162 - (view) Author: Jakub Kuczys (jack1142) * Date: 2020-01-01 16:53
https://github.com/python/cpython/blob/3.7/Doc/library/pathlib.rst#correspondence-to-tools-in-the-modos-module

The table mapping `os` functions to `Path`'s equivalents is missing `os.makedirs` in the row with `Path.mkdir()` and they are both equivalent when `Path.mkdir()` is used with `parents=True` kwarg.

I can make a PR once this gets triaged, I'm not sure if this doc improvement should only be made to master branch or also 3.7/3.8 so let me know about that too, thanks.
msg409550 - (view) Author: Jakub Kuczys (jack1142) * Date: 2022-01-03 00:39
Looks like this has been reported again in https://bugs.python.org/issue39470 and a fix for it has already been merged.
History
Date User Action Args
2022-04-11 14:59:24adminsetgithub: 83362
2022-01-03 00:39:41jack1142setstatus: open -> closed
resolution: duplicate
messages: + msg409550

stage: resolved
2020-01-01 16:53:16jack1142create