Open
Description
When diagnosing problems with CPython's build logic, there arises the need to apply patches to the codebase and run the same commands as the build would run from the build tree.
Currently, the only way to learn them is to run the build in trace mode.
A better way would be to report any envvar assignments and configure/make command invocations into the build log, akin to what Homebrew does.
An even better way may be to not even do any envvar assignments Python-Build-wise but put them directly into configure
/make
invocations. That way, the invocation can be copy-pasted and run alone rather than having to copy-paste and run all the variable assignments before it as well.