This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sdaoden
Recipients ixokai, nadeem.vawda, ned.deily, neologix, pitrou, python-dev, sdaoden, skrah, vstinner
Date 2011-05-06.15:33:05
SpamBayes Score 2.6879805e-05
Marked as misclassified No
Message-id <20110506153255.GA66752@sherwood.local>
In-reply-to <1304643247.49.0.687409902496.issue11277@psf.upfronthosting.co.za>
Content
On Fri,  6 May 2011 02:54:07 +0200, Nadeem Vawda wrote:
> I think so. [.]
> it turns out that the OS X sparsefile crash is also covered by
> LargeMmapTests.test_large_offset() in test_mmap [!!!]. [.]

So i followed your suggestion and did not do something on zlib no
more.  Even if that means that there is no test which checksums an
entire superlarge mmap() region.
Instead i've changed/added test cases in test_mmap.py:

- Removed all context-manager usage from LargeMmapTests().
  This feature has been introduced in 3.2 and is already tested
  elsewhere.  Like this the test is almost identical on 2.7 and 3.x.
- I've dropped _working_largefile().  This creates a useless large
  file only to unlink it directly.  Instead the necessary try:catch:
  is done directly in the tests.
- (Directly testing after .flush() without reopening the file.)
- These new tests don't run on 32 bit.

May the juice be with you
Files
File name Uploaded
11277-test_mmap-27.1.py sdaoden, 2011-05-06.15:33:05
11277-test_mmap.1.py sdaoden, 2011-05-06.15:33:05
History
Date User Action Args
2011-05-06 15:33:08sdaodensetrecipients: + sdaoden, ixokai, pitrou, vstinner, nadeem.vawda, ned.deily, skrah, neologix, python-dev
2011-05-06 15:33:06sdaodenlinkissue11277 messages
2011-05-06 15:33:06sdaodencreate