Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(67)

Unified Diff: Lib/tempfile.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/subprocess.py ('k') | Lib/test/data/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/tempfile.py Tue Jul 26 09:37:46 2011 +0300
+++ b/Lib/tempfile.py Mon Jul 25 09:47:18 2011 -0400
@@ -10,6 +10,8 @@
TMP_MAX - maximum number of names that will be tried before
giving up.
+ template - the default prefix for all temporary names.
+ You may change this to control the default prefix.
tempdir - If this is set to a string before the first use of
any routine from this module, it will be considered as
another candidate location to store temporary files.
@@ -72,8 +74,6 @@
else:
TMP_MAX = 10000
-# Although it does not have an underscore for historical reasons, this
-# variable is an internal implementation detail (see issue 10354).
template = "tmp"
# Internal routines.
« no previous file with comments | « Lib/subprocess.py ('k') | Lib/test/data/README » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+