Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | skip test on windows | Benjamin Peterson | 2016-10-06 | 1 | -0/+1 |
| | |||||
* | fix bug in 48797808a302 | Benjamin Peterson | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | skip test if resizing is not supported | Benjamin Peterson | 2016-10-06 | 1 | -2/+5 |
| | |||||
* | mmap: do all internal arithmetic with Py_ssize_t while being very careful ↵ | Benjamin Peterson | 2016-10-06 | 1 | -0/+10 |
| | | | | about overflow | ||||
* | Fixed typo. | Serhiy Storchaka | 2014-08-19 | 1 | -2/+2 |
| | |||||
* | Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows. | Serhiy Storchaka | 2014-08-19 | 1 | -1/+10 |
| | |||||
* | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 | 1 | -75/+73 |
| | |||||
* | Silence deprecation warning in test_mmap for ValueError.message. | Terry Jan Reedy | 2013-09-01 | 1 | -8/+4 |
| | | | | Replacement is from 3.3, with 'p' added to make '...Regexp'. | ||||
* | Issue #16743: Fix mmap overflow check on 32 bit Windows | Richard Oudkerk | 2013-02-13 | 1 | -0/+7 |
| | |||||
* | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -12/+9 |
| | | | | was incomplete | ||||
* | Closes #15676: mmap: add empty file check prior to offset check | Jesus Cea | 2012-09-09 | 1 | -0/+16 |
| | |||||
* | Fix potential resource leak in test_mmap. | Nadeem Vawda | 2011-05-07 | 1 | -0/+1 |
| | |||||
* | Issue #11277: Fix tests - crash will not trigger if the file is closed and ↵ | Nadeem Vawda | 2011-05-07 | 1 | -14/+12 |
| | | | | reopened. | ||||
* | Issue #11277: Add tests for mmap crash when using large sparse files on OS X. | Nadeem Vawda | 2011-05-07 | 1 | -26/+34 |
| | | | | | | Also, reduce code duplication in LargeMmapTests. Original patch by Steffen Daode Nurpmeso. | ||||
* | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | Issue #11391: Writing to a mmap object created with | Antoine Pitrou | 2011-03-06 | 1 | -0/+8 |
| | | | | | `mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a TypeError. Patch by Charles-François Natali. | ||||
* | Merged revisions 88486 via svnmerge from | Antoine Pitrou | 2011-02-21 | 1 | -3/+58 |
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88486 | antoine.pitrou | 2011-02-22 00:41:12 +0100 (mar., 22 févr. 2011) | 5 lines Issue #4681: Allow mmap() to work on file sizes and offsets larger than 4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for 32-bit Windows. ........ | ||||
* | Merged revisions 88131 via svnmerge from | Antoine Pitrou | 2011-01-20 | 1 | -0/+13 |
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88131 | antoine.pitrou | 2011-01-20 22:07:24 +0100 (jeu., 20 janv. 2011) | 6 lines Issue #10955: Fix a potential crash when trying to mmap() a file past its length. Initial patch by Ross Lagerwall. This fixes a regression introduced by r88022. ........ | ||||
* | Merged revisions 88036 via svnmerge from | Antoine Pitrou | 2011-01-15 | 1 | -5/+9 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88036 | antoine.pitrou | 2011-01-15 18:25:58 +0100 (sam., 15 janv. 2011) | 3 lines Fix mmap and test_mmap under Windows too (followup to r88022) ........ | ||||
* | Merged revisions 88022 via svnmerge from | Antoine Pitrou | 2011-01-15 | 1 | -0/+13 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88022 | antoine.pitrou | 2011-01-15 17:17:07 +0100 (sam., 15 janv. 2011) | 7 lines Issue #10916: mmap should not segfault when a file is mapped using 0 as length and a non-zero offset, and an attempt to read past the end of file is made (IndexError is raised instead). Patch by Ross Lagerwall. Requested by Georg. ........ | ||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -15/+15 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | Merged revisions 83407 via svnmerge from | Brian Curtin | 2010-08-01 | 1 | -1/+11 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83407 | brian.curtin | 2010-08-01 10:26:26 -0500 (Sun, 01 Aug 2010) | 3 lines Fix #8105. Add validation to mmap.mmap so invalid file descriptors don't cause a crash on Windows. ........ | ||||
* | use assert[Not]In where appropriate | Ezio Melotti | 2010-01-23 | 1 | -1/+1 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -2/+2 |
| | |||||
* | No behavior change. | Hirokazu Yamamoto | 2009-04-04 | 1 | -2/+2 |
| | |||||
* | bounds check arguments to mmap.move(). All of them. Really. | Jack Diederich | 2009-04-01 | 1 | -7/+14 |
| | | | | fixes crasher on OS X 10.5 | ||||
* | Issue #5387: Fixed mmap.move crash by integer overflow. (take2) | Hirokazu Yamamoto | 2009-03-31 | 1 | -4/+16 |
| | |||||
* | Issue #5387: Fixed mmap.move crash by integer overflow. | Hirokazu Yamamoto | 2009-03-31 | 1 | -0/+17 |
| | |||||
* | Add import_function method to test.test_support, and modify a number of | R. David Murray | 2009-03-30 | 1 | -2/+3 |
| | | | | | | | | tests that expect to be skipped if imports fail or functions don't exist to use import_function and import_module. The ultimate goal is to change regrtest to not skip automatically on ImportError. Checking in now to make sure the buldbots don't show any errors on platforms I can't direct test on. | ||||
* | mmap.resize for anonymous map is not working yet, so changed to real file ↵ | Hirokazu Yamamoto | 2009-03-05 | 1 | -15/+5 |
| | | | | mapping... | ||||
* | Issue #5385: Fixed mmap crash after resize failure on windows. | Hirokazu Yamamoto | 2009-03-05 | 1 | -1/+33 |
| | | | | | Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle because CreateFileMapping returns NULL when error occurs. | ||||
* | Issue #1733986: Fixed mmap crash in accessing elements of second map object | Hirokazu Yamamoto | 2009-02-28 | 1 | -0/+28 |
| | | | | with same tagname but larger size than first map. (Windows) | ||||
* | Issue #5386: mmap.write_byte didn't check map size, so it could cause buffer | Hirokazu Yamamoto | 2009-02-28 | 1 | -0/+32 |
| | | | | overrun. | ||||
* | Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0, | Hirokazu Yamamoto | 2009-02-17 | 1 | -0/+21 |
| | | | | The file was resized to wrong size. | ||||
* | Issue #5292: Fixed mmap crash on its boundary access m[len(m)]. | Hirokazu Yamamoto | 2009-02-17 | 1 | -0/+4 |
| | |||||
* | Be sure to close the file. 2 places were deleting the file, so it was probably | Neal Norwitz | 2008-04-01 | 1 | -1/+3 |
| | | | | | fine, but the last change may be required for the test to pass on Windows. Should we always close the mmap too? | ||||
* | Issue 2112. mmap does not raises EnvironmentError no more, but | Facundo Batista | 2008-02-17 | 1 | -0/+5 |
| | | | | a subclass of it. Thanks John Lenton. | ||||
* | mmap.PROT_READ does not exists on win32; | Amaury Forgeot d'Arc | 2008-02-16 | 1 | -0/+2 |
| | | | | Skip this test created by r60830. | ||||
* | Bug #2111: mmap segfaults when trying to write a block opened with PROT_READ | Christian Heimes | 2008-02-15 | 1 | -0/+7 |
| | | | | Thanks to Thomas Herve for the fix. | ||||
* | Fix for #1087741 patch. | Georg Brandl | 2008-01-22 | 1 | -0/+7 |
| | |||||
* | Patch #976880: add mmap .rfind() method, and 'end' paramter to .find(). | Andrew M. Kuchling | 2008-01-19 | 1 | -0/+36 |
| | | | | Contributed by John Lenton. | ||||
* | Add phuang patch from Issue 708374 which adds offset parameter to mmap module. | Travis E. Oliphant | 2007-10-23 | 1 | -0/+44 |
| | |||||
* | Improve extended slicing support in builtin types and classes. Specifically: | Thomas Wouters | 2007-08-28 | 1 | -0/+34 |
| | | | | | | | | | | | | | | | | | | | | - Specialcase extended slices that amount to a shallow copy the same way as is done for simple slices, in the tuple, string and unicode case. - Specialcase step-1 extended slices to optimize the common case for all involved types. - For lists, allow extended slice assignment of differing lengths as long as the step is 1. (Previously, 'l[:2:1] = []' failed even though 'l[:2] = []' and 'l[:2:None] = []' do not.) - Implement extended slicing for buffer, array, structseq, mmap and UserString.UserString. - Implement slice-object support (but not non-step-1 slice assignment) for UserString.MutableString. - Add tests for all new functionality. | ||||
* | Whitespace normalization. | Tim Peters | 2006-11-03 | 1 | -1/+1 |
| | |||||
* | Convert test_mmap to unittest. | Georg Brandl | 2006-10-29 | 1 | -238/+156 |
| | |||||
* | Patch #1407135, bug #1424041, make mmap.mmap(-1, length) work the same | Neal Norwitz | 2006-02-05 | 1 | -2/+12 |
| | | | | | | | | | | | on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1 for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since the latter is deprecated according to Linux (gentoo) man pages. Should we continue to allow mmap.mmap(0, length) to work on Windows? 0 is a valid fd. Will backport bugfix portions. | ||||
* | Fix SF bug #1402308, segfault when using mmap(-1, ...) | Neal Norwitz | 2006-01-11 | 1 | -0/+8 |
| | | | | | | | This didn't crash on Linux, but valgrind complained. I'm not sure if this test is valid on Windows. Will backport. | ||||
* | SF Patch #1365916, mmap fails on AMD64 | Neal Norwitz | 2005-12-18 | 1 | -0/+16 |
| | | | | Fix some 64-bit issues due to mismatch format characters w/actual data types | ||||
* | Whitespace normalization (via reindent.py). | Tim Peters | 2005-08-26 | 1 | -1/+1 |
| | |||||
* | bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix | Georg Brandl | 2005-08-24 | 1 | -0/+8 |
| |