Skip to content

Commit dd69fd2

Browse files
committed
Add NEWS entry and What's New for tracemalloc CLI
1 parent a1fec02 commit dd69fd2

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎Doc/whatsnew/3.16.rst‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,15 @@ tkinter
770770
(Contributed by Serhiy Storchaka in :gh:`153513`.)
771771

772772

773+
tracemalloc
774+
-----------
775+
776+
* Added a :ref:`command-line interface <tracemalloc-cli>` to trace
777+
the memory allocations of a script or module without modifying it:
778+
``python -m tracemalloc script.py``.
779+
(Contributed by Vadim Smal in :gh:`159560`.)
780+
781+
773782
turtle
774783
------
775784

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Add a command-line interface to :mod:`tracemalloc`: ``python -m tracemalloc
2+
script.py`` traces the memory allocations of a script or module and displays
3+
the top allocations still alive at exit. Patch by Vadim Smal.

0 commit comments

Comments
 (0)