summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2014-08-05 15:28:12 (GMT)
committerBarry Warsaw <barry@python.org>2014-08-05 15:28:12 (GMT)
commit7c549c4e6445b25c95491571af8dfa6532570866 (patch)
treed5f3bf11bea329a38e91ad4bddc66adef5aeae4f /Misc
parent17fd1e1013e27032a8a14cc4a1e0521ef75d3699 (diff)
downloadcpython-7c549c4e6445b25c95491571af8dfa6532570866.zip
cpython-7c549c4e6445b25c95491571af8dfa6532570866.tar.gz
cpython-7c549c4e6445b25c95491571af8dfa6532570866.tar.bz2
- Issue #21539: Add a *exists_ok* argument to `Pathlib.mkdir()` to mimic
`mkdir -p` and `os.makedirs()` functionality. When true, ignore FileExistsErrors. Patch by Berker Peksag. (With minor cleanups, additional tests, doc tweaks, etc. by Barry) Also: * Remove some unused imports in test_pathlib.py reported by pyflakes.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f0687e4..99a50a5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -123,6 +123,10 @@ Core and Builtins
Library
-------
+- Issue #21539: Add a *exists_ok* argument to `Pathlib.mkdir()` to mimic
+ `mkdir -p` and `os.makedirs()` functionality. When true, ignore
+ FileExistsErrors. Patch by Berker Peksag.
+
- Issue #21047: set the default value for the *convert_charrefs* argument
of HTMLParser to True. Patch by Berker Peksag.