<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_largefile.py, branch 2.6</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_largefile.py?h=2.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_largefile.py?h=2.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-03-03T03:24:48Z</updated>
<entry>
<title>Add a note in the main test class' docstring that the order of execution of the</title>
<updated>2008-03-03T03:24:48Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2008-03-03T03:24:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bfbf5b37153395d1100388f2398a80766bc4dba4'/>
<id>urn:sha1:bfbf5b37153395d1100388f2398a80766bc4dba4</id>
<content type='text'>
tests is important.
</content>
</entry>
<entry>
<title>Move test_largefile over to using 'with' statements for open files.</title>
<updated>2008-03-03T02:41:40Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2008-03-03T02:41:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6382ffc892cb70603657797c3441968cfe55c9f8'/>
<id>urn:sha1:6382ffc892cb70603657797c3441968cfe55c9f8</id>
<content type='text'>
Also rename the driver function to test_main() instead of main_test().
</content>
</entry>
<entry>
<title>Fixes issue 2026.  Tests converted to unittest.  Thanks</title>
<updated>2008-02-07T16:16:29Z</updated>
<author>
<name>Facundo Batista</name>
<email>facundobatista@gmail.com</email>
</author>
<published>2008-02-07T16:16:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9521f08b98b3c0de6dc35f753eb07da33786f866'/>
<id>urn:sha1:9521f08b98b3c0de6dc35f753eb07da33786f866</id>
<content type='text'>
Giampaolo Rodola.
</content>
</entry>
<entry>
<title>Fix issue1789: The tutorial contained a misuse of the struct module.</title>
<updated>2008-01-24T09:38:26Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2008-01-24T09:38:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7b7ce7854c2e36d04adb42beec5f673071cf1fd4'/>
<id>urn:sha1:7b7ce7854c2e36d04adb42beec5f673071cf1fd4</id>
<content type='text'>
(also remove an unneeded import struct from test_largefile)
</content>
</entry>
<entry>
<title>test_largefile can leave its temp file open if one of many tests fail. On</title>
<updated>2003-08-26T11:59:27Z</updated>
<author>
<name>Jason Tishler</name>
<email>jason@tishler.net</email>
</author>
<published>2003-08-26T11:59:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=063606a0d5302d8a5530297a70494a9cad334e83'/>
<id>urn:sha1:063606a0d5302d8a5530297a70494a9cad334e83</id>
<content type='text'>
platforms (e.g., Cygwin) that are "particular" about open files, this will
cause other regression tests that use the same temp file to fail:

    $ ./python.exe -E -tt Lib/test/regrtest.py -l
    test_largefile test_mmap test_mutants
    test_largefile
    test test_largefile failed -- got -1794967295L, but expected 2500000001L
    test_mmap
    test test_mmap crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'
    test_mutants
    test test_mutants crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'

This patch solves the problem by adding missing "try/finally" blocks. Note
that the "large" size of this patch is due to many white space changes --
otherwise, the patch is small.

I tested this patch under Red Hat Linux 8.0 too.
</content>
</entry>
<entry>
<title>Require 'largefile' resource for Mac OSX as well.</title>
<updated>2002-12-02T10:42:30Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-12-02T10:42:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3b10dc3554f9820b21d4c95bc3f1c1e6f5d4bf94'/>
<id>urn:sha1:3b10dc3554f9820b21d4c95bc3f1c1e6f5d4bf94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get rid of relative imports in all unittests.  Now anything that</title>
<updated>2002-07-23T19:04:11Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2002-07-23T19:04:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=04f357cffef6d764f2f0ff2671dabde75ec250d1'/>
<id>urn:sha1:04f357cffef6d764f2f0ff2671dabde75ec250d1</id>
<content type='text'>
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".

This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).

Now Tim and Jack can have at it. :)
</content>
</entry>
<entry>
<title>Change Windows file.truncate() to (a) restore the original file position,</title>
<updated>2002-03-12T03:04:44Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-03-12T03:04:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8f01b680c85853948591c28ceae356760e7c7c33'/>
<id>urn:sha1:8f01b680c85853948591c28ceae356760e7c7c33</id>
<content type='text'>
and (b) stop trying to prevent file growth.

Beef up the file.truncate() docs.

Change test_largefile.py to stop assuming that f.truncate() moves the
file pointer to the truncation point, and to verify instead that it leaves
the file position alone.  Remove the test for what happens when a
specified size exceeds the original file size (it's ill-defined, according
to the Single Unix Spec).
</content>
</entry>
<entry>
<title>file_truncate():  provide full "large file" support on Windows, by</title>
<updated>2002-03-11T00:24:00Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-03-11T00:24:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fb05db2cae72bb0c3f2181d6cb0c20d990c23f6c'/>
<id>urn:sha1:fb05db2cae72bb0c3f2181d6cb0c20d990c23f6c</id>
<content type='text'>
dropping MS's inadequate _chsize() function.  This was inspired by
SF patch 498109 ("fileobject truncate support for win32"), which I
rejected.

libstdtypes.tex:  Someone who knows should update the availability
blurb.  For example, if it's available on Linux, it would be good to
say so.

test_largefile:  Uncommented the file.truncate() tests, and reworked to
do more.  The old comment about "permission errors" in the truncation
tests under Windows was almost certainly due to that the file wasn't open
for *write* access at this point, so of course MS wouldn't let you
truncate it.  I'd be appalled if a Unixish system did.

CAUTION:  Someone should run this test on Linux (etc) too.  The
truncation part was commented out before.  Note that test_largefile isn't
run by default.
</content>
</entry>
<entry>
<title>Ignore SIGXFSZ. Fixes #490453.</title>
<updated>2001-12-11T17:57:26Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-12-11T17:57:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=df8adcd7ba210291c01a6c59b00139fe1e1a1f48'/>
<id>urn:sha1:df8adcd7ba210291c01a6c59b00139fe1e1a1f48</id>
<content type='text'>
</content>
</entry>
</feed>
