Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d2736aff
Commit
d2736aff
authored
Nov 25, 2013
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention the new tracemalloc module in the What's New in Python 3.4 document
parent
4fbefdb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+18
-0
No files found.
Doc/whatsnew/3.4.rst
View file @
d2736aff
...
...
@@ -97,6 +97,7 @@ New library modules:
* :mod:`selectors`: High-level and efficient I/O multiplexing, built upon the
:mod:`select` module primitives.
* :mod:`statistics`: A basic numerically stable statistics library (:pep:`450`).
* :mod:`tracemalloc`: Trace Python memory allocations (:pep:`454`).
New expected features for Python implementations:
...
...
@@ -400,6 +401,23 @@ deviation of a data series.
PEP written and implemented by Steven D'Aprano
tracemalloc
-----------
The new :mod:`tracemalloc` module (defined in :pep:`454`) is a debug tool to
trace memory blocks allocated by Python. It provides the following information:
* Traceback where an object was allocated
* Statistics on allocated memory blocks per filename and per line number:
total size, number and average size of allocated memory blocks
* Compute the differences between two snapshots to detect memory leaks
.. seealso::
:pep:`454` - Add a new tracemalloc module to trace Python memory allocations
PEP written and implemented by Victor Stinner
Improved Modules
================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment