This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Outdated descriptions for configuring valgrind.
Type: enhancement Stage:
Components: Documentation Versions: Python 3.10, Python 3.9, Python 3.8, Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, xxm
Priority: normal Keywords:

Created on 2021-03-19 04:22 by xxm, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg389052 - (view) Author: Xinmeng Xia (xxm) Date: 2021-03-19 04:22
At line 12-20, cpython/Misc/README.valgrind, the descriptions are out of date. File "Objects/obmalloc.c" does not contain Py_USING_MEMORY_DEBUGGER any more since Python 3.6.  The descriptions should be modified for Python 3.6-3.10


Attached line 12-20, cpython/Misc/README.valgrind: 
=================================================

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
=================================================
History
Date User Action Args
2022-04-11 14:59:43adminsetgithub: 87715
2021-04-02 01:12:43xxmsettype: behavior -> enhancement
2021-03-19 04:22:52xxmcreate