Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add the const qualifier to "char *" variables that refer to literal strings. ↵ | Serhiy Storchaka | 2017-11-11 | 1 | -1/+1 |
| | | | | (#4370) | ||||
* | Added :const:`mmap.ACCESS_DEFAULT` constant. (#4093) | Justus Schwabedal | 2017-11-07 | 1 | -0/+1 |
| | |||||
* | Expand the PySlice_GetIndicesEx macro. (#1023) | Serhiy Storchaka | 2017-04-08 | 1 | -5/+4 |
| | |||||
* | bpo-29852: Argument Clinic Py_ssize_t converter now supports None (#716) | Serhiy Storchaka | 2017-03-30 | 1 | -24/+1 |
| | | | if pass `accept={int, NoneType}`. | ||||
* | bpo-29730: replace some calls to PyNumber_Check and improve some error ↵ | Oren Milman | 2017-03-12 | 1 | -3/+4 |
| | | | | messages (#650) | ||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -12/+6 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | merge 3.5 | Benjamin Peterson | 2016-10-06 | 1 | -1/+1 |
|\ | |||||
| * | ensure read size is initialized | Benjamin Peterson | 2016-10-06 | 1 | -1/+1 |
| | | |||||
* | | merge 3.5 | Benjamin Peterson | 2016-10-06 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | do not leak buffer if mmap is not writable | Benjamin Peterson | 2016-10-06 | 1 | -1/+3 |
| | | |||||
* | | merge 3.5 | Benjamin Peterson | 2016-10-06 | 1 | -112/+79 |
|\ \ | |/ | |||||
| * | mmap: do all internal arithmetic with Py_ssize_t while being very careful ↵ | Benjamin Peterson | 2016-10-06 | 1 | -109/+78 |
| | | | | | | | | about overflow | ||||
* | | Issue #23524: Finish removing _PyVerify_fd from sources | Steve Dower | 2016-09-08 | 1 | -4/+0 |
| | | |||||
* | | replace PY_LONG_LONG with long long | Benjamin Peterson | 2016-09-06 | 1 | -6/+6 |
| | | |||||
* | | Issue #26335: Make mmap.write() return the number of bytes written like | Berker Peksag | 2016-03-02 | 1 | -2/+3 |
|/ | | | | | | other write methods. Patch by Jakub Stasiak. | ||||
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 1 | -1/+1 |
| | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | ||||
* | Merge 3.4 (#24217) | Benjamin Peterson | 2015-08-02 | 1 | -2/+2 |
|\ | |||||
| * | include fcntl.h on all *nix platforms (closes #24217) | Benjamin Peterson | 2015-08-02 | 1 | -2/+2 |
| | | | | | | | | Patch by Jeffrey Armstrong. | ||||
* | | Issue #23524: Replace _PyVerify_fd function with calls to ↵ | Steve Dower | 2015-04-12 | 1 | -1/+3 |
| | | | | | | | | _set_thread_local_invalid_parameter_handler. | ||||
* | | Issue #23752: _Py_fstat() is now responsible to raise the Python exception | Victor Stinner | 2015-03-30 | 1 | -13/+12 |
| | | | | | | | | Add _Py_fstat_noraise() function when a Python exception is not welcome. | ||||
* | | Issue #23753: Python doesn't support anymore platforms without stat() or | Victor Stinner | 2015-03-24 | 1 | -4/+0 |
| | | | | | | | | | | | | | | fstat(), these functions are always required. Remove HAVE_STAT and HAVE_FSTAT defines, and stop supporting DONT_HAVE_STAT and DONT_HAVE_FSTAT. | ||||
* | | Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and | Serhiy Storchaka | 2015-03-20 | 1 | -11/+17 |
| | | | | | | | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too. | ||||
* | | Fix compiler warning in mmapmodule.c (compare signed/unsigned integers) | Victor Stinner | 2015-03-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #23694: Enhance _Py_open(), it now raises exceptions | Victor Stinner | 2015-03-17 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | * _Py_open() now raises exceptions on error. If open() fails, it raises an OSError with the filename. * _Py_open() now releases the GIL while calling open() * Add _Py_open_noraise() when _Py_open() cannot be used because the GIL is not held | ||||
* | | Issue #23152: Implement _Py_fstat() to support files larger than 2 GB on ↵ | Steve Dower | 2015-02-21 | 1 | -4/+4 |
|/ | | | | | | Windows. fstat() may fail with EOVERFLOW on files larger than 2 GB because the file size type is an signed 32-bit integer. | ||||
* | Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows. | Serhiy Storchaka | 2014-08-19 | 1 | -0/+16 |
| | |||||
* | Issue #16136: Remove VMS support and VMS-related code | Christian Heimes | 2013-12-21 | 1 | -6/+0 |
| | |||||
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -4/+4 |
| | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | ||||
* | Issue #4885: Add weakref support to mmap objects. Patch by Valerie Lambert. | Antoine Pitrou | 2013-08-05 | 1 | -1/+7 |
| | |||||
* | Merge | Richard Oudkerk | 2013-02-13 | 1 | -11/+11 |
|\ | |||||
| * | Issue #16743: Fix mmap overflow check on 32 bit Windows | Richard Oudkerk | 2013-02-13 | 1 | -11/+11 |
| | | |||||
* | | MERGE: #15676: mmap: add empty file check prior to offset check <- Previous ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+1 |
|\ \ | |/ | | | | | patch was incomplete (fix 2) | ||||
| * | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+1 |
| | | | | | | | | was incomplete (fix 2) | ||||
* | | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+5 |
|\ \ | |/ | | | | | was incomplete | ||||
| * | #15676: mmap: add empty file check prior to offset check <- Previous patch ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+5 |
| | | | | | | | | was incomplete | ||||
* | | Closes #15676: mmap: add empty file check prior to offset check | Jesus Cea | 2012-09-09 | 1 | -0/+5 |
|\ \ | |/ | |||||
| * | Closes #15676: mmap: add empty file check prior to offset check | Jesus Cea | 2012-09-09 | 1 | -0/+5 |
| | | |||||
* | | Whitespace. | Stefan Krah | 2012-03-06 | 1 | -14/+14 |
| | | |||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -1/+1 |
| | | |||||
* | | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. | Antoine Pitrou | 2011-10-12 | 1 | -16/+10 |
| | | |||||
* | | Add API for static strings, primarily good for identifiers. | Martin v. Löwis | 2011-10-09 | 1 | -1/+3 |
| | | | | | | | | Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. | ||||
* | | Merge with 3.2 (Issue #12404). | Ross Lagerwall | 2011-06-25 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue 12404: Remove C89 incompatible code from mmap module. | Ross Lagerwall | 2011-06-25 | 1 | -1/+2 |
| | | | | | | | | Patch by Akira Kitada. | ||||
* | | Issue #12021: Make mmap's read() method argument optional. Patch by Petri | Charles-François Natali | 2011-06-08 | 1 | -2/+24 |
| | | | | | | | | Lehtinen. | ||||
* | | Checking if an unsigned long is < 0 is pointless. | Brett Cannon | 2011-06-07 | 1 | -3/+3 |
|/ | | | | Found by LLVM/clang 2.9. | ||||
* | (Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X | Victor Stinner | 2011-05-01 | 1 | -0/+9 |
|\ | | | | | | | | | to get around a mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso. | ||||
| * | Issue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a | Victor Stinner | 2011-05-01 | 1 | -0/+9 |
| | | | | | | | | mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso. | ||||
* | | Merge fix for issue #11391 | Antoine Pitrou | 2011-03-06 | 1 | -5/+10 |
|\ \ | |/ | |||||
| * | Issue #11391: Writing to a mmap object created with | Antoine Pitrou | 2011-03-06 | 1 | -5/+10 |
| | | | | | | | | | | `mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a TypeError. Patch by Charles-François Natali. | ||||
| * | Merged revisions 88460,88464,88466,88486,88511,88652 via svnmerge from | Antoine Pitrou | 2011-02-28 | 1 | -48/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88460 | antoine.pitrou | 2011-02-21 19:03:13 +0100 (lun., 21 févr. 2011) | 4 lines Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffers larger than 4GB. Patch by Nadeem Vawda. ........ r88464 | antoine.pitrou | 2011-02-21 20:05:08 +0100 (lun., 21 févr. 2011) | 3 lines Fix issues on 32-bit systems introduced by r88460 ........ r88466 | antoine.pitrou | 2011-02-21 20:28:40 +0100 (lun., 21 févr. 2011) | 3 lines Fix compile error under MSVC introduced by r88460. ........ 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. ........ r88511 | antoine.pitrou | 2011-02-22 22:42:56 +0100 (mar., 22 févr. 2011) | 4 lines Issue #11277: finally fix Snow Leopard crash following r88460. (probably an OS-related issue with mmap) ........ r88652 | antoine.pitrou | 2011-02-26 16:58:05 +0100 (sam., 26 févr. 2011) | 4 lines Issue #9931: Fix hangs in GUI tests under Windows in certain conditions. Patch by Hirokazu Yamamoto. ........ |