Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer)
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index c16fe87..386e527 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -496,6 +496,13 @@
(Contributed by Giampaolo Rodolà; :issue:`6706`.)
+* The :mod:`tempfile` module has a new context manager,
+ :class:`~tempfile.TemporaryDirectory` which provides easy deterministic
+ cleanup of temporary directories.
+
+ (Contributed by Neil Schemenauer and Nick Coghlan; :issue:`5178`.)
+
+
Multi-threading
===============