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.

Author vstinner
Recipients anthony shaw, lys.nikolaou, pablogsal, vstinner
Date 2020-12-01.23:16:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606864618.99.0.176429709492.issue42521@roundup.psfhosted.org>
In-reply-to
Content
> thanks, it would be great if this were documented in the --help section like the other options which require a debug build (-X showrefcount)

PyConfig.show_ref_count documentation explains that a debug build is required:

"Need a debug build of Python (Py_REF_DEBUG macro must be defined)."

https://docs.python.org/dev/c-api/init_config.html#c.PyConfig.show_ref_count

By the way, it would be nice to add a link on "debug build" to explain how to detect if Python is built in debug mode and how to build Python in debug mode.
History
Date User Action Args
2020-12-01 23:16:59vstinnersetrecipients: + vstinner, lys.nikolaou, pablogsal, anthony shaw
2020-12-01 23:16:58vstinnersetmessageid: <1606864618.99.0.176429709492.issue42521@roundup.psfhosted.org>
2020-12-01 23:16:58vstinnerlinkissue42521 messages
2020-12-01 23:16:58vstinnercreate