]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
closes docs: remove references to Py_USING_MEMORY_DEBUGGER (GH-30284)
authorCarlos Damazio <carlos.damazio@damazio.dev>
Wed, 29 Dec 2021 22:20:42 +0000 (19:20 -0300)
committerGitHub <noreply@github.com>
Wed, 29 Dec 2021 22:20:42 +0000 (16:20 -0600)
Misc/README.valgrind

index b483b2ea60a4d2930044cb36664b7b7f16ea4b23..ee9bfdf859d7f43f3177a9e4ff644f1368a17879 100644 (file)
@@ -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.