[Python-checkins] closes bpo-38522 docs: remove references to Py_USING_MEMORY_DEBUGGER (GH-30284) (GH-30295)

benjaminp webhook-mailer at python.org
Wed Dec 29 18:01:26 EST 2021


https://github.com/python/cpython/commit/9f0e40fae5191c3e3ed6109bd2e2f97aa0ac8d64
commit: 9f0e40fae5191c3e3ed6109bd2e2f97aa0ac8d64
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: benjaminp <benjamin at locrian.net>
date: 2021-12-29T17:01:17-06:00
summary:

closes bpo-38522 docs: remove references to Py_USING_MEMORY_DEBUGGER (GH-30284) (GH-30295)

(cherry picked from commit 8e11237c5d24e649b26cc928b52bc37f2fde9c7a)

Co-authored-by: Carlos Damazio <carlos.damazio at damazio.dev>

Co-authored-by: Carlos Damazio <carlos.damazio at damazio.dev>

files:
M Misc/README.valgrind

diff --git a/Misc/README.valgrind b/Misc/README.valgrind
index b483b2ea60a4d..ee9bfdf859d7f 100644
--- a/Misc/README.valgrind
+++ b/Misc/README.valgrind
@@ -12,12 +12,9 @@ can be used to force the usage of the malloc() allocator of the C library.
 If you don't want to read about the details of using Valgrind, there
 are still two things you must do to suppress the warnings.  First,
 you must use a suppressions file.  One is supplied in
-Misc/valgrind-python.supp.  Second, you must do one of the following:
-
-  * Uncomment Py_USING_MEMORY_DEBUGGER in Objects/obmalloc.c,
-    then rebuild Python
-  * Uncomment the lines in Misc/valgrind-python.supp that
-    suppress the warnings for PyObject_Free and PyObject_Realloc
+Misc/valgrind-python.supp.  Second, you must uncomment the lines in 
+Misc/valgrind-python.supp that suppress the warnings for PyObject_Free and
+PyObject_Realloc.
 
 If you want to use Valgrind more effectively and catch even more
 memory leaks, you will need to configure python --without-pymalloc.



More information about the Python-checkins mailing list