92 Commits (41bade96a4d1dcd35bbba79c2eabe052d02756a4)

Author SHA1 Message Date
Nick Coghlan 6b22f3fa17 Issue #10188 (partial resolution): tidy up some behaviour in the new tempfile.TemporaryDirectory context manager 15 years ago
Georg Brandl ab3734fd97 Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed. 15 years ago
Raymond Hettinger 572895b8eb Simplify code 15 years ago
Nick Coghlan 543af75961 Issue 5178: Add tempfile.TemporaryDirectory (original patch by Neil Schemenauer) 16 years ago
Amaury Forgeot d'Arc 36dfe78456 Merged revisions 76593 via svnmerge from 16 years ago
Amaury Forgeot d'Arc 7d0bddde5c #6077: on Windows, fix truncation of a tempfile.TemporaryFile opened in "wt+" mode: 16 years ago
Georg Brandl c8b3891d49 Merged revisions 73749 via svnmerge from 17 years ago
Georg Brandl ef82be368a Merged revisions 73695,73711 via svnmerge from 17 years ago
Benjamin Peterson 3f5de1316d Merged revisions 73744 via svnmerge from 17 years ago
Benjamin Peterson 98d23f2e06 Merged revisions 73710 via svnmerge from 17 years ago
Alexandre Vassalotti 3ade6f9007 Fixed test_tempfile. 18 years ago
Georg Brandl 2067bfdf25 Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875. 18 years ago
Alexandre Vassalotti eca20b6114 Merged revisions 63119-63128,63130-63131,63133,63135-63144,63146-63148,63151-63152,63155-63165,63167-63176,63181-63186,63188-63189 via svnmerge from 18 years ago
Christian Heimes 81ee3efede Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,62463,62465-62466,62469,62474,62476-62478,62480,62485,62492,62497-62498,62500,62507,62513-62514,62516,62521,62531,62535,62545-62546,62548-62551,62553-62559,62569,62574,62577,62593,62595,62604-62606,62608,62616,62626-62627,62636,62638,62644-62645,62647-62648,62651-62653,62656,62661,62663,62680,62686-62687,62696,62699-62703,62711 via svnmerge from 18 years ago
Christian Heimes 36d1f8ec46 As Guido says 18 years ago
Christian Heimes c83b629996 iter() doesn't use __getattr__ to find an __iter__ method. I'm not sure if the behavior is deliberately but this workaround fixes the issue for the next alpha release tomorrow. 18 years ago
Christian Heimes 3ecfea71ff Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678-60695 via svnmerge from 18 years ago
Guido van Rossum 98297ee781 Merging the py3k-pep3137 branch back into the py3k branch. 19 years ago
Fred Drake 3db4686b61 fix typo 19 years ago
Guido van Rossum 5d21255968 Issue 1340 by Amaury Forgeot d'Arc (with help from Christian Heimes, 19 years ago
Georg Brandl 7816e51427 Fix exception indexing. 19 years ago
Collin Winter ce36ad8a46 Raise statement normalization in Lib/. 19 years ago
Guido van Rossum f0c7416157 Patch # 1033 by Adam Hupp: 19 years ago
Skip Montanaro 289bc05709 some RiscOS stuff I missed before (was only looking for "RISCOS") 19 years ago
Guido van Rossum 5424df2f7e Patch suggested Paul Colomiets fixes test_threaded_import.py. 19 years ago
Brett Cannon dd766d53a2 Move tempfile over to the io module. Makes test_threaded_import pass. 19 years ago
Guido van Rossum 9a63470fd7 Make test_tempfile.py work. Make SpooledTempFile work in text and binary mode. 19 years ago
Guido van Rossum cd16bf6404 Merged revisions 55817-55961 via svnmerge from 19 years ago
Guido van Rossum 68937b4cbc Change some uses of cStringIO.StringIO to io.StringIO. 19 years ago
Guido van Rossum 805365ee39 Merged revisions 55007-55179 via svnmerge from 19 years ago
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Georg Brandl a18af4e7a2 PEP 3114: rename .next() to .__next__() and add next() builtin. 19 years ago
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter: 19 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Raymond Hettinger faa10ebdd0 SF bug #1099516: tempfile files not types.FileType 21 years ago
Tim Peters 90ee7eb18e Record that FCNTL.py has gone away; remove FCNTL hack in tempfile.py; 22 years ago
Guido van Rossum b256159396 mktemp() shouldn't rely on os.path.exists(), which can return False if 23 years ago
Alex Martelli f09994e527 fixed wrong error checking on fcntl call as per SF bug # 821896 23 years ago
Martin v. Löwis d662548c72 Patch #810914: Return absolute path for mkstemp. Fixes #810408. 23 years ago
Tim Peters 291f14e3d3 Windows fix: When PYTHONCASEOK is set, or for any other reason imports 23 years ago
Jack Jansen bb829b7c02 Getting rid of macfs. 23 years ago
Guido van Rossum a0934246d3 Use the dummy_thread module in Queue.py and tempfile.py. 23 years ago
Guido van Rossum 44f602dd3b Comment out the warnings about mktemp(). These are too annoying, and 24 years ago
Tim Peters 97701b507b _RandomNameSequence(): style guide changes, small speedup, don't 24 years ago
Tim Peters 6ef966e1ad _TemporaryFileWrapper: changed self.close_called to a proper bool. 24 years ago
Guido van Rossum e888cdc683 Get rid of _once(); inlining it takes less code. :-) 24 years ago
Tim Peters 04490bf225 tempfile's mkstemp(): Changed last argument from 24 years ago
Jason Tishler 80c02af345 Patch #595014: Cygwin tempfile patch 24 years ago
Tim Peters d41bf34825 mkstemp(): Repaired error in docstring (the sense of the 'binary' flag 24 years ago
Tim Peters f69b3e9edc mkstemp(): The optional "binary" argument is clearly intended to be a 24 years ago