]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29564: warnings suggests to enable tracemalloc (GH-10486) (GH-10509)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 4 Dec 2018 20:25:57 +0000 (12:25 -0800)
committerVictor Stinner <vstinner@redhat.com>
Tue, 4 Dec 2018 20:25:57 +0000 (21:25 +0100)
commit0091f349cde179ea991f4ee4d095119cd1fc3802
treeee9ef18f0f652c1edfa8eb1c05e3f49bde68843d
parent1751423686d05e3facdd6da2620202728e5d7917
bpo-29564: warnings suggests to enable tracemalloc (GH-10486) (GH-10509)

The warnings module now suggests to enable tracemalloc if the source
is specified, tracemalloc module is available, but tracemalloc is not
tracing memory allocations.
(cherry picked from commit 2c07c493d2eb45101312e3eb3a77f94d0c9cad1f)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_warnings/__init__.py
Lib/warnings.py
Misc/NEWS.d/next/Library/2018-11-12-17-40-04.bpo-29564.SFNBT5.rst [new file with mode: 0644]