summaryrefslogtreecommitdiff
path: root/Lib/tempfile.py
AgeCommit message (Expand)AuthorLines
2003-07-22Windows fix: When PYTHONCASEOK is set, or for any other reason importsTim Peters-3/+9
2003-03-21Getting rid of macfs.Jack Jansen-6/+6
2002-12-30Use the dummy_thread module in Queue.py and tempfile.py.Guido van Rossum-6/+3
2002-11-22Comment out the warnings about mktemp(). These are too annoying, andGuido van Rossum-3/+3
2002-11-21_RandomNameSequence(): style guide changes, small speedup, don'tTim Peters-8/+8
2002-11-21_TemporaryFileWrapper: changed self.close_called to a proper bool.Tim Peters-2/+2
2002-08-17Get rid of _once(); inlining it takes less code. :-)Guido van Rossum-36/+41
2002-08-14tempfile's mkstemp(): Changed last argument fromTim Peters-10/+10
2002-08-14Patch #595014: Cygwin tempfile patchJason Tishler-3/+3
2002-08-14mkstemp(): Repaired error in docstring (the sense of the 'binary' flagTim Peters-2/+2
2002-08-13mkstemp(): The optional "binary" argument is clearly intended to be aTim Peters-1/+1
2002-08-13NamedTemporaryFile(), TemporaryFile(): removed needless local vrbl 'bin'.Tim Peters-6/+8
2002-08-13template: removed special-casing for NT; there isn't an 8-character limit.Tim Peters-4/+1
2002-08-13_once(): Removed obfuscating aliasing of _once_lock.Tim Peters-4/+2
2002-08-13_once(): Simplified dict manipulation.Tim Peters-2/+2
2002-08-09Whitespace normalization.Tim Peters-6/+9
2002-08-09Check-in of the most essential parts of SF 589982 (tempfile.pyGuido van Rossum-218/+389
2002-06-01SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger-1/+1
2002-03-24If possible, set FD_CLOEXEC flag on file descriptors opened usingNeil Schemenauer-0/+12
2002-01-30Thanks to Detlef Lannert for pointing out a typo in the code thatTim Peters-1/+1
2002-01-30New TemporaryFile implementation for Windows: this doesn't need aTim Peters-1/+17
2002-01-28SF bug #509805 tempfile.gettempdir not threadsafeTim Peters-2/+28
2001-12-18TemporaryFileWrapper: fixed typo in new comment.Tim Peters-1/+1
2001-12-18TemporaryFileWrapper: cache the value of os.unlink for use by __del__,Tim Peters-1/+8
2001-10-29SF bug #476138: tempfile behavior across platformsTim Peters-4/+6
2001-10-24SF patch #474590 -- RISC OS supportGuido van Rossum-1/+5
2001-03-02Search /tmp before /var/tmp and /usr/tmp -- this seems preferred.Guido van Rossum-1/+1
2001-03-01final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro-0/+2
2001-02-19fix long lineJeremy Hylton-1/+2
2001-01-15Whitespace normalization.Tim Peters-25/+25
2001-01-14Reverting a dumb experimental version I checked in by mistake.Tim Peters-9/+2
2001-01-14SF bug 128713: type(mmap_object) blew up on Linux.Tim Peters-2/+9
2001-01-13Guido found a brand new race in tempfile on Linux, due to Linux changingTim Peters-16/+31
2001-01-12A variant of SF patch 103028 (Make tempfile.mktemp threadsafe).Tim Peters-12/+45
2000-08-29Patch by tg@FreeBSD.org to try /var/tmp first.Guido van Rossum-1/+1
2000-04-24Security patch for Unix by Chris McDonough.Guido van Rossum-7/+21
2000-02-04The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum-8/+6
1999-06-01In class TemporaryFileWrapper, don't cache attributes of tpye int --Guido van Rossum-1/+2
1998-10-24Improvement to the previous fix suggested by Thomas Bellman: if theGuido van Rossum-2/+6
1998-10-24The TemporaryFile() function has a security leak -- because theGuido van Rossum-5/+6
1998-10-14Fix so that after a fork() -- on Unix only -- the template getsGuido van Rossum-3/+9
1998-04-28On the Mac, create the Temporary Items folder if it does not exist yet.Guido van Rossum-1/+1
1998-04-09When getcwd() doesn't exist or raises an exception, don't fail butGuido van Rossum-1/+5
1998-03-26Mass check-in after untabifying all files that need it.Guido van Rossum-58/+58
1997-12-19Add new optional parameter 'suffix' (default ''), which is appended toGuido van Rossum-10/+11
1997-12-15On NT, use a better template, ~XXX- where XXX is os.getpid().Guido van Rossum-0/+2
1997-08-12Added TemporaryFile and wrapper class by Jim Fulton.Guido van Rossum-2/+41
1997-04-11(Jack:) Better MacOS support.Guido van Rossum-0/+10
1996-08-20Attempt at Windows-NT compatibility.Guido van Rossum-1/+4
1996-08-08Restore 1.3 behavior of gettempdir(): if tempdir is already set, believe it.Guido van Rossum-0/+2