Message382283
> 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. |
|
Date |
User |
Action |
Args |
2020-12-01 23:16:59 | vstinner | set | recipients:
+ vstinner, lys.nikolaou, pablogsal, anthony shaw |
2020-12-01 23:16:58 | vstinner | set | messageid: <1606864618.99.0.176429709492.issue42521@roundup.psfhosted.org> |
2020-12-01 23:16:58 | vstinner | link | issue42521 messages |
2020-12-01 23:16:58 | vstinner | create | |
|