Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
  • Loading branch information
corona10 and picnixz authored Dec 10, 2025
commit 3a2654dff9c9713ec6274aa0f18f680b07510a4f
4 changes: 2 additions & 2 deletions Doc/library/mmap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
in ``/proc/<pid>/maps`` if the kernel supports the feature and :option:`-X dev <-X>` is passed
to the Python or Python is built in :ref:`debug mode <debug-build>`
Comment thread
corona10 marked this conversation as resolved.
Outdated

Availability: Linux kernel 5.17 or newer.
.. availability:: Linux >= 5.17
Comment thread
corona10 marked this conversation as resolved.
Outdated

.. versionadded:: 3.15
.. versionadded:: next

.. method:: size()

Expand Down
3 changes: 2 additions & 1 deletion Doc/whatsnew/3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,8 @@ mmap
not be duplicated.
(Contributed by Serhiy Storchaka in :gh:`78502`.)

* :meth:`mmap.mmap.set_name` method added to annotation an anonymous memory map
* Added the :meth:`mmap.mmap.set_name` method
to annotate an anonymous memory map
Comment thread
corona10 marked this conversation as resolved.
Outdated
if Linux kernel supports :manpage:`PR_SET_VMA_ANON_NAME <PR_SET_VMA(2const)>` (Linux 5.17 or newer).
(Contributed by Donghee Na in :gh:`142419`.)

Expand Down
Loading