diff options
author | Zackery Spytz <zspytz@gmail.com> | 2019-05-27 16:48:17 (GMT) |
---|---|---|
committer | Antoine Pitrou <antoine@python.org> | 2019-05-27 16:48:16 (GMT) |
commit | 02db696732c031d9a0265dc9bbf4f5b1fad042b3 (patch) | |
tree | e98de473936501302c683c984a9f8b4fdccf6dd2 /Doc/whatsnew | |
parent | 331a6a56e9a9c72f3e4605987fabdaec72677702 (diff) | |
download | cpython-02db696732c031d9a0265dc9bbf4f5b1fad042b3.zip cpython-02db696732c031d9a0265dc9bbf4f5b1fad042b3.tar.gz cpython-02db696732c031d9a0265dc9bbf4f5b1fad042b3.tar.bz2 |
bpo-32941: Add madvise() for mmap objects (GH-6172)
Allow mmap objects to access the madvise() system call.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.8.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index 6102d8c..fd5e649 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -460,6 +460,15 @@ numbers. (Contributed by Pablo Galindo in :issue:`35606`) Added new function :func:`math.isqrt` for computing integer square roots. (Contributed by Mark Dickinson in :issue:`36887`.) + +mmap +---- + +The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap.madvise` method to +access the ``madvise()`` system call. +(Contributed by Zackery Spytz in :issue:`32941`.) + + os -- |