Comment out the warnings about mktemp(). These are too annoying, and
often unavoidable.
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 97f1252..0393ba5 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -324,9 +324,9 @@
the punch.
"""
- from warnings import warn as _warn
- _warn("mktemp is a potential security risk to your program",
- RuntimeWarning, stacklevel=2)
+## from warnings import warn as _warn
+## _warn("mktemp is a potential security risk to your program",
+## RuntimeWarning, stacklevel=2)
if dir is None:
dir = gettempdir()