summaryrefslogtreecommitdiff
path: root/Lib/tempfile.py
AgeCommit message (Expand)AuthorLines
2009-07-01proxy the __exit__ callBenjamin Peterson-1/+1
2009-06-30provide a dummy __exit__ on windowsBenjamin Peterson-0/+3
2008-05-12Remove references to platform 'mac'Ronald Oussoren-13/+1
2008-04-27A few small changes:Skip Montanaro-10/+5
2008-02-09Issue 2021: Allow NamedTemporaryFile and SpooledTemporaryFile to be used as c...Nick Coghlan-2/+33
2007-04-25Whitespace normalization. Ugh, we really need to do this more often.Neal Norwitz-3/+3
2007-03-19Patch #1630118: add a SpooledTemporaryFile class to tempfile.Collin Winter-0/+114
2007-03-13Patch #1537850: tempfile.NamedTemporaryFile now has a "delete" parameterGeorg Brandl-6/+9
2007-03-08Patch #1668482: don't use '-' in mkstempCollin Winter-1/+1
2006-06-16Param name is dir, not directory. Update docstring. Backport candidateNeal Norwitz-1/+1
2006-05-11Change WindowsError to carry the Win32 error code in winerror,Martin v. Löwis-4/+0
2006-05-06Port access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API.Martin v. Löwis-0/+4
2005-01-11SF bug #1099516: tempfile files not types.FileTypeRaymond Hettinger-5/+5
2004-07-18Record that FCNTL.py has gone away; remove FCNTL hack in tempfile.py;Tim Peters-7/+5
2003-11-10mktemp() shouldn't rely on os.path.exists(), which can return False ifGuido van Rossum-1/+23
2003-11-09fixed wrong error checking on fcntl call as per SF bug # 821896Alex Martelli-2/+3
2003-10-12Patch #810914: Return absolute path for mkstemp. Fixes #810408.Martin v. Löwis-1/+1
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