[Feature Request] Add Python debug builds with Py_DEBUG
flag
#885
Labels
feature request
New feature or request to improve the current logic
Py_DEBUG
flag
#885
Description:
Describe your proposal.
Add Python debug builds with
Py_DEBUG
flag by setting--with-pydebug
and--with-trace-refs
configure options.Justification:
Justification or a use case for your proposal.
Some advanced Python development features require the Python executable to be built with extra configure flags. For example:
PYTHONDEBUG
(command line option-d
) requires--with-pydebug
.-X showrefcount
requires--with-pydebug
.PYTHONDUMPREFS
requires--with-trace-refs
.PYTHONDUMPREFSFILE=FILENAME
requires--with-trace-refs
.Reference:
There is a Ubuntu package
python-dbg
built with debug flag.Are you willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: