Open XuehaiPan opened 2 weeks ago
Description: Describe your proposal.
Add Python debug builds with Py_DEBUG flag by setting --with-pydebug and --with-trace-refs configure options.
Py_DEBUG
--with-pydebug
--with-trace-refs
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
-d
-X showrefcount
PYTHONDUMPREFS
PYTHONDUMPREFSFILE=FILENAME
Reference:
There is a Ubuntu package python-dbg built with debug flag.
python-dbg
Are you willing to submit a PR?
Yes
Hello @XuehaiPan We appreciate your suggestion for a new feature! We'll make sure to address it when we have the opportunity
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