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.

Author tilman.vogel
Recipients docs@python, tilman.vogel
Date 2021-06-08.09:17:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623143832.18.0.435867988934.issue44347@roundup.psfhosted.org>
In-reply-to
Content
I donot understand this sentence:

"dirs_exist_ok dictates whether to raise an exception in case dst or any 
missing parent directory already exists."

How can a "missing parent directory already exist"?

My understanding would be that an existing `dst` would be OK (and copied into) but missing parent directories are just the ones above `dst` that also don't exist. 

Until 3.7, missing parent directories were documented to be auto-created (`mkdir -p`-style) according to the documentation ("The destination directory, named by dst, must not already exist; it will be created as well as missing parent directories."). Was this feature really removed? If not, then this part was accidentally (?) dropped from documentation?

What am I missing? I think, the documentation should be amended to make that clear.
History
Date User Action Args
2021-06-08 09:17:12tilman.vogelsetrecipients: + tilman.vogel, docs@python
2021-06-08 09:17:12tilman.vogelsetmessageid: <1623143832.18.0.435867988934.issue44347@roundup.psfhosted.org>
2021-06-08 09:17:12tilman.vogellinkissue44347 messages
2021-06-08 09:17:11tilman.vogelcreate