b6b1ab4fa83c000f14bd63c92d9182fbd507d0be |
|
29-Feb-2016 |
Martin Panter <vadmium+py@gmail.com> |
Issue #26385: Cleanup NamedTemporaryFile if fdopen() fails, by SilentGhost
/external/python/cpython2/Lib/test/test_tempfile.py
|
9eb0c0e73ec53b8d0e2917c44bcae05a18b56f53 |
|
19-May-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #22107: tempfile.gettempdir() and tempfile.mkdtemp() now try again when a directory with the chosen name already exists on Windows as well as on Unix. tempfile.mkstemp() now fails early if parent directory is not valid (not exists or is a file) on Windows.
/external/python/cpython2/Lib/test/test_tempfile.py
|
367f5d379ca91ef55f496614945fd929d7e09b70 |
|
25-Mar-2014 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #21058: Fix a leak of file descriptor in tempfile.NamedTemporaryFile(), close the file descriptor if os.fdopen() fails
/external/python/cpython2/Lib/test/test_tempfile.py
|
1f70221b861a3714735251d57695b2f472d0599b |
|
10-Dec-2013 |
Zachary Ware <zachary.ware@gmail.com> |
Issue #19572: More silently skipped tests explicitly skipped.
/external/python/cpython2/Lib/test/test_tempfile.py
|
e207e38c5354489520be72460e6dcad11d76f937 |
|
15-Sep-2013 |
Eli Bendersky <eliben@gmail.com> |
Close #18945: Add tests for tempfile name collision handling. Patch by Vlad Shcherbina
/external/python/cpython2/Lib/test/test_tempfile.py
|
8c7e925f6ea1333c7f2838a7643bbe39c6eff6af |
|
06-Sep-2013 |
Eli Bendersky <eliben@gmail.com> |
Close #18849: Fixed a Windows-specific tempfile bug where collision with an existing directory caused mkstemp and related APIs to fail instead of retrying. Report and fix by Vlad Shcherbina.
/external/python/cpython2/Lib/test/test_tempfile.py
|
0127de0b877600a95871e07aee8a092e9199002a |
|
12-Feb-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #16800: tempfile.gettempdir() no longer left temporary files when the disk is full. Original patch by Amir Szekely.
/external/python/cpython2/Lib/test/test_tempfile.py
|
beaa3adae954a4a85c7dd8e02340d92fd04a7855 |
|
08-Feb-2013 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #10355: SpooledTemporaryFile properties and xreadline method now work for unrolled files.
/external/python/cpython2/Lib/test/test_tempfile.py
|
a5d5bb997b1cb8b5d8a33d67c505ceba3bc3d9e9 |
|
25-Nov-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #12856: Ensure child processes do not inherit the parent's random seed for filename generation in the tempfile module. Patch by Brian Harring.
/external/python/cpython2/Lib/test/test_tempfile.py
|
b44e1841d504269f01250949fc97e98ccd0ba8a2 |
|
14-Mar-2011 |
R David Murray <rdmurray@bitdance.com> |
Port #11488 patch from 3.1 (changeset f816841bab03)
/external/python/cpython2/Lib/test/test_tempfile.py
|
9545a23c7ffb35417d451d24cc3b0339627965a7 |
|
05-May-2010 |
Ronald Oussoren <ronaldoussoren@mac.com> |
In a number of places code still revers to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk.
/external/python/cpython2/Lib/test/test_tempfile.py
|
a4f46e129294c686ef1effdd89c459bd9a624e6d |
|
07-Feb-2010 |
Georg Brandl <georg@python.org> |
Remove unused imports in test modules.
/external/python/cpython2/Lib/test/test_tempfile.py
|
d10d8ee2a1f0e4fd01816b5717eb5cc92684fb37 |
|
07-Feb-2010 |
Georg Brandl <georg@python.org> |
Fix various missing import/unbound name errors.
/external/python/cpython2/Lib/test/test_tempfile.py
|
b0f5adc3f4e098b1744eeac65fc830fb1df2b8ab |
|
24-Jan-2010 |
Ezio Melotti <ezio.melotti@gmail.com> |
use assert[Not]IsInstance where appropriate
/external/python/cpython2/Lib/test/test_tempfile.py
|
aa98058cc44ba20f35c106d20918c6196b737561 |
|
24-Jan-2010 |
Ezio Melotti <ezio.melotti@gmail.com> |
use assert[Not]In where appropriate
/external/python/cpython2/Lib/test/test_tempfile.py
|
5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e |
|
01-Jul-2009 |
Benjamin Peterson <benjamin@python.org> |
convert usage of fail* to assert*
/external/python/cpython2/Lib/test/test_tempfile.py
|
6733bed57e780008f8c78422d2a9676b9a2710cf |
|
01-May-2009 |
Walter Dörwald <walter@livinglogic.de> |
Make test.test_support.EnvironmentVarGuard behave like a dictionary. All changes are mirrored to the underlying os.environ dict, but rolled back on exit from the with block.
/external/python/cpython2/Lib/test/test_tempfile.py
|
4b965f6ab17370b06ee587c7b12ad3bcd96163e3 |
|
26-Apr-2009 |
Walter Dörwald <walter@livinglogic.de> |
Use test.test_support.EnvironmentVarGuard where tests change environment vars.
/external/python/cpython2/Lib/test/test_tempfile.py
|
888a39b54c4f47ee25d53b157e2c50402627cd0b |
|
26-Mar-2009 |
Benjamin Peterson <benjamin@python.org> |
remove test_support.TestSkipped and just use unittest.SkipTest
/external/python/cpython2/Lib/test/test_tempfile.py
|
95287fa951ff5b8f1c38e7a9f5e9134acd59a397 |
|
30-Apr-2008 |
Benjamin Peterson <benjamin@python.org> |
Remove some from __future__ import with_statements
/external/python/cpython2/Lib/test/test_tempfile.py
|
97fac3eb0a7fb42b1853ab41c29377bb3e7f1362 |
|
09-Feb-2008 |
Nick Coghlan <ncoghlan@gmail.com> |
Issue 2021: Allow NamedTemporaryFile and SpooledTemporaryFile to be used as context managers. (The NamedTemporaryFile fix should be considered for backporting to 2.5)
/external/python/cpython2/Lib/test/test_tempfile.py
|
66d41b2fae1a5efbdc4537bdd8e4583e698a838d |
|
07-Dec-2007 |
Armin Rigo <arigo@tunes.org> |
This is probably what was meant here.
/external/python/cpython2/Lib/test/test_tempfile.py
|
a8785cc26a464815164a609ab89ce54e0c91a158 |
|
19-Mar-2007 |
Collin Winter <collinw@gmail.com> |
Patch #1630118: add a SpooledTemporaryFile class to tempfile.
/external/python/cpython2/Lib/test/test_tempfile.py
|
4168c0466f873b60dd82ea83782e39a41a3aa45f |
|
13-Mar-2007 |
Georg Brandl <georg@python.org> |
Fix a tab.
/external/python/cpython2/Lib/test/test_tempfile.py
|
35ef9c19fe0f66d9d68b41100e85edc9feb45b1e |
|
13-Mar-2007 |
Georg Brandl <georg@python.org> |
Patch #1537850: tempfile.NamedTemporaryFile now has a "delete" parameter which can be set to False to prevent the default delete-on-close behavior.
/external/python/cpython2/Lib/test/test_tempfile.py
|
4bc2c0919b2ed31851e9c3423ab85614fe35a75a |
|
05-Sep-2006 |
Neal Norwitz <nnorwitz@gmail.com> |
Patch #1540470, for OpenBSD 4.0. Backport candidate for 2.[34].
/external/python/cpython2/Lib/test/test_tempfile.py
|
215f13dd118f67fb8c3d3663dbbe11ed33691c4f |
|
06-Jun-2006 |
Martin Blais <blais@furius.ca> |
Normalized a few cases of whitespace in function declarations. Found them using:: find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done (I was doing this all over my own code anyway, because I'd been using spaces in all defs, so I thought I'd make a run on the Python code as well. If you need to do such fixes in your own code, you can use xx-rename or parenregu.el within emacs.)
/external/python/cpython2/Lib/test/test_tempfile.py
|
a1fb4c891f84989345b0967236954da1c6a94f34 |
|
15-Feb-2005 |
Michael W. Hudson <mwh@python.net> |
Exceedingly minor tweak.
/external/python/cpython2/Lib/test/test_tempfile.py
|
9996828caad6a727e075ec83a75af66477a8a6f4 |
|
15-Sep-2004 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #1026986: Add OpenBSD 3.5 and 3.6 to list of broken systems.
/external/python/cpython2/Lib/test/test_tempfile.py
|
59db96f2a3e89ce4a3d309a6e5aa8b472e4e1cb1 |
|
31-Mar-2004 |
Guido van Rossum <guido@python.org> |
When /tmp has certain sticky bits set, newly created subdirectories inherit those bits, causing the test_mkdtemp.test_mode() test to fail. Remove those before comparing the actual mode to the expected mode.
/external/python/cpython2/Lib/test/test_tempfile.py
|
d4210bc7182c44db6a57d10e1769331b584311e7 |
|
23-Oct-2003 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #813200: Quote executable path on Windows. Fixes #811082. Backported to 2.3.
/external/python/cpython2/Lib/test/test_tempfile.py
|
d662548c728e5e1da15d5594a8b6e751213002f8 |
|
12-Oct-2003 |
Martin v. Löwis <martin@v.loewis.de> |
Patch #810914: Return absolute path for mkstemp. Fixes #810408. This should not be backported to 2.3, as it might break backwards compatibility.
/external/python/cpython2/Lib/test/test_tempfile.py
|
21d3a32b99c5763444c34c189ef653ac9745f3c4 |
|
01-May-2003 |
Walter Dörwald <walter@livinglogic.de> |
Combine the functionality of test_support.run_unittest() and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
/external/python/cpython2/Lib/test/test_tempfile.py
|
ce92147cc8d1bbef1726857cb32f6d652aa09871 |
|
08-Jan-2003 |
Jack Jansen <jack.jansen@cwi.nl> |
Added the Mac to platforms that don't have user/group/other modes. Set the limit for the number of open files to 32 if platform==mac.
/external/python/cpython2/Lib/test/test_tempfile.py
|
8bec48316b1ffb4ea153e78b9119d7e77b98f3eb |
|
22-Nov-2002 |
Fred Drake <fdrake@acm.org> |
Two bugs: - assertRaises() wasn't being called correctly - test_warning() no longer applies
/external/python/cpython2/Lib/test/test_tempfile.py
|
7633d2393f8b0b8a6b3480799dc35cfc954069a6 |
|
18-Oct-2002 |
Fred Drake <fdrake@acm.org> |
Don't call warnings.resetwarnings(); that does bad things that cause other tests to generate warning when they didn't before. In particular, this cancels not only filters set by -W, but also from test.regrtest.
/external/python/cpython2/Lib/test/test_tempfile.py
|
8ccd9b63cc14aa07b1f6ab4477772addcfc6ee89 |
|
22-Aug-2002 |
Guido van Rossum <guido@python.org> |
Standardize behavior: no docstrings in test functions. Also get rid of dummy_test_TemporaryFile class; when NamedTemporaryFile and TemporaryFile are the same, simply don't add a test suite for TemporaryFile.
/external/python/cpython2/Lib/test/test_tempfile.py
|
1d0eeec279ad9b4f45c3fca667078ba8affa7bd8 |
|
18-Aug-2002 |
Andrew MacIntyre <andymac@bullseye.apana.org.au> |
OS/2 EMX behaves like Windows where file permissions are concerned
/external/python/cpython2/Lib/test/test_tempfile.py
|
e888cdc68346ee34698121e23a03e85a3de902aa |
|
17-Aug-2002 |
Guido van Rossum <guido@python.org> |
Get rid of _once(); inlining it takes less code. :-) Also, don't call gettempdir() in the default expression for the 'dir' argument to various functions; use 'dir=None' for the default and insert 'if dir is None: dir = gettemptir()' in the bodies. That way the work done by gettempdir is postponed until needed.
/external/python/cpython2/Lib/test/test_tempfile.py
|
787410680b9866d56a1ec1915ebbf41ab5cac7a0 |
|
17-Aug-2002 |
Guido van Rossum <guido@python.org> |
Patch by Zack W to make test_noinherit() more robust: spawn a Python subprocess that does the right checks. This now works on Windows as well.
/external/python/cpython2/Lib/test/test_tempfile.py
|
68ee0128a2e213ebf69a3ecc92a03310edf47c16 |
|
16-Aug-2002 |
Neal Norwitz <nnorwitz@gmail.com> |
Drop the number of test files to 100 for all the tests
/external/python/cpython2/Lib/test/test_tempfile.py
|
20f0b36a043cf0abc06dfde64e09006fe80ce31e |
|
14-Aug-2002 |
Guido van Rossum <guido@python.org> |
test_many(): open only 100 temp files, not 1000. Some systems don't allow that many open files per process. I don't see that 1000 makes any difference for the test.
/external/python/cpython2/Lib/test/test_tempfile.py
|
ca3ac7f639cf48629b896ffc88b3be9308bf6596 |
|
09-Aug-2002 |
Tim Peters <tim.peters@gmail.com> |
There's no distinction among 'user', 'group' and 'world' permissions on Win32, so tests that assume there are such distinctions can't pass. Fiddled them to work.
/external/python/cpython2/Lib/test/test_tempfile.py
|
a0d55de8773559568e57cf01445eb6a9011ad5dd |
|
09-Aug-2002 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/test/test_tempfile.py
|
0e54871f827687309e3186a4d916231cae0d8b01 |
|
09-Aug-2002 |
Guido van Rossum <guido@python.org> |
Check-in of the most essential parts of SF 589982 (tempfile.py rewrite, by Zack Weinberg). This replaces most code in tempfile.py (please review!!!) and adds extensive unit tests for it. This will cause some warnings in the test suite; I'll check those in soon, and also the docs.
/external/python/cpython2/Lib/test/test_tempfile.py
|
c57a285cb4cd61439fd3ea804184ed8a8a1ac358 |
|
29-Oct-2001 |
Tim Peters <tim.peters@gmail.com> |
SF bug #476138: tempfile behavior across platforms Ensure that a tempfile can be closed any number of times without error. This wasn't true on Windows.
/external/python/cpython2/Lib/test/test_tempfile.py
|