Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) | Christian Heimes | 2022-03-22 | 1 | -1/+9 |
| | | | | | | | | | | | - Add requires_fork and requires_subprocess to more tests - Skip extension import tests if dlopen is not available - Don't assume that _testcapi is a shared extension - Skip a lot of socket tests that don't work on Emscripten - Skip mmap tests, mmap emulation is incomplete - venv does not work yet - Cannot get libc from executable The "entire" test suite is now passing on Emscripten with EMSDK from git head (91 suites are skipped). | ||||
* | bpo-45621: Small changes to mmap (GH-29247) | Tim Golden | 2021-10-29 | 1 | -8/+16 |
| | | | | * Small tidy-ups / comments * Use randomized names when testing tagged mmaps to avoid any risk of parallel tests treading on each others' toes | ||||
* | bpo-40915: Fix mmap resize bugs on Windows (GH-29213) | Tim Golden | 2021-10-26 | 1 | -1/+75 |
| | | | | | | | | | | | (original patch by eryksun) Correctly hand various failure modes when resizing an mmap on Windows: * Resizing a pagefile-backed mmap now creates a new mmap and copies data * Attempting to resize when another mapping is held on the same file raises an OSError * Attempting to resize a nametagged mmap raises an OSError if another mapping is held with the same nametag | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21449) | Hai Shi | 2020-08-03 | 1 | -2/+3 |
| | |||||
* | bpo-34953: Implement `mmap.mmap.__repr__` (GH-9891) | Taine Zhao | 2019-10-17 | 1 | -0/+36 |
| | |||||
* | bpo-32941: Fix test_madvise failure when page size >= 8kiB (GH-13596) | Antoine Pitrou | 2019-05-27 | 1 | -1/+2 |
| | | | https://bugs.python.org/issue32941 | ||||
* | bpo-32941: Add madvise() for mmap objects (GH-6172) | Zackery Spytz | 2019-05-27 | 1 | -0/+19 |
| | | | | Allow mmap objects to access the madvise() system call. | ||||
* | bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375) | Zackery Spytz | 2019-05-17 | 1 | -2/+2 |
| | | | | | | | The final addition (cur += step) may overflow, so use size_t for "cur". "cur" is always positive (even for negative steps), so it is safe to use size_t here. Co-Authored-By: Martin Panter <vadmium+py@gmail.com> | ||||
* | bpo-22831: Use "with" to avoid possible fd leaks in tests (part 1). (GH-10928) | Serhiy Storchaka | 2019-03-05 | 1 | -48/+36 |
| | |||||
* | Clean up code which checked presence of os.{stat,lstat,chmod} (#11643) | Anthony Sottile | 2019-02-25 | 1 | -3/+0 |
| | |||||
* | bpo-34754: Fix test_flush_return_value on FreeBSD (GH-9451) | Berker Peksag | 2018-09-20 | 1 | -2/+3 |
| | | | | Apparently, FreeBSD doesn't raise OSError when offset is not a multiple of mmap.PAGESIZE. | ||||
* | bpo-2122: Make mmap.flush() behave same on all platforms (GH-8692) | Berker Peksag | 2018-08-22 | 1 | -5/+14 |
| | | | | | Previously, its behavior was platform-dependent and there was no error checking under Windows. | ||||
* | bpo-33767: Fix improper use of SystemError by mmap.mmap objects (GH-7381) | Zackery Spytz | 2018-06-05 | 1 | -0/+7 |
| | | | | Raise TypeError instead of SystemError for unsupported operations. | ||||
* | Replace KB unit with KiB (#4293) | Victor Stinner | 2017-11-08 | 1 | -1/+1 |
| | | | | | | | | | | | kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB. | ||||
* | merge 3.5 | Benjamin Peterson | 2016-10-06 | 1 | -0/+14 |
|\ | |||||
| * | 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 | -1/+4 |
| | | |||||
| * | mmap: do all internal arithmetic with Py_ssize_t while being very careful ↵ | Benjamin Peterson | 2016-10-06 | 1 | -0/+11 |
| | | | | | | | | about overflow | ||||
* | | Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android). | Serhiy Storchaka | 2016-05-23 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Xavier de Gaye. | ||||
| * | Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android). | Serhiy Storchaka | 2016-05-23 | 1 | -1/+1 |
| | | | | | | | | Patch by Xavier de Gaye. | ||||
* | | Issue #26335: Make mmap.write() return the number of bytes written like | Berker Peksag | 2016-03-02 | 1 | -0/+8 |
|/ | | | | | | other write methods. Patch by Jakub Stasiak. | ||||
* | Issue #25004: Merge 3.4 into 3.5 | Martin Panter | 2015-09-07 | 1 | -1/+4 |
|\ | |||||
| * | Issue #25004: Handle out-of-disk-space error in LargeMmapTests | Martin Panter | 2015-09-07 | 1 | -1/+4 |
| | | | | | | | | Patch from John Beck. | ||||
* | | Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and | Serhiy Storchaka | 2015-03-20 | 1 | -2/+6 |
|/ | | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too. | ||||
* | 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 | -76/+74 |
| | |||||
* | Issue #4885: Add weakref support to mmap objects. Patch by Valerie Lambert. | Antoine Pitrou | 2013-08-05 | 1 | -1/+11 |
| | |||||
* | Merge | Richard Oudkerk | 2013-02-13 | 1 | -0/+7 |
|\ | |||||
| * | Merge | Richard Oudkerk | 2013-02-13 | 1 | -0/+7 |
| |\ | |||||
| | * | Issue #16743: Fix mmap overflow check on 32 bit Windows | Richard Oudkerk | 2013-02-13 | 1 | -0/+7 |
| | | | |||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -4/+4 |
| | | | |||||
* | | | Issue #16719: Get rid of WindowsError. Use OSError instead | Andrew Svetlov | 2012-12-19 | 1 | -1/+1 |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | | Replace mmap.error with OSError, #16705 | Andrew Svetlov | 2012-12-17 | 1 | -2/+2 |
|/ / | |||||
* | | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -5/+5 |
|\ \ | |/ | | | | | was incomplete | ||||
| * | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -5/+5 |
| | | | | | | | | was incomplete | ||||
* | | Closes #15676: mmap: add empty file check prior to offset check | Jesus Cea | 2012-09-09 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | Closes #15676: mmap: add empty file check prior to offset check | Jesus Cea | 2012-09-09 | 1 | -0/+9 |
| | | |||||
* | | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. | Antoine Pitrou | 2011-10-12 | 1 | -2/+1 |
| | | |||||
* | | (merge 3.2) Issue #12451: Open files in binary mode in some tests when the text | Victor Stinner | 2011-06-30 | 1 | -3/+3 |
|\ \ | |/ | | | | | | | | | file is not needed. Remove also an unused variable (blank) in test_threading. | ||||
| * | Issue #12451: Open files in binary mode in some tests when the text file is not | Victor Stinner | 2011-06-30 | 1 | -3/+3 |
| | | | | | | | | | | | | needed. Remove also an unused variable (blank) in test_threading. | ||||
* | | Issue #12021: Make mmap's read() method argument optional. Patch by Petri | Charles-François Natali | 2011-06-08 | 1 | -0/+29 |
|/ | | | | Lehtinen. | ||||
* | Merge: Fix potential resource leak in test_mmap. | Nadeem Vawda | 2011-05-07 | 1 | -0/+1 |
|\ | |||||
| * | Fix potential resource leak in test_mmap. | Nadeem Vawda | 2011-05-07 | 1 | -0/+1 |
| | | |||||
* | | Merge: #11277: Fix tests - crash will not trigger if the file is closed and ↵ | Nadeem Vawda | 2011-05-07 | 1 | -14/+12 |
|\ \ | |/ | | | | | reopened. | ||||
| * | Issue #11277: Fix tests - crash will not trigger if the file is closed and ↵ | Nadeem Vawda | 2011-05-07 | 1 | -14/+12 |
| | | | | | | | | reopened. | ||||
* | | Merge: #11277: Add tests for mmap crash when using large sparse files on OS X. | Nadeem Vawda | 2011-05-07 | 1 | -26/+31 |
|\ \ | |/ | | | | | | | | | Also, reduce code duplication in LargeMmapTests. Original patch by Steffen Daode Nurpmeso. | ||||
| * | 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: Merge with 3.1. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
|\ \ | |/ |