Python: Difference between revisions

m shows instructions on how to obtain a CPython interpreter that uses debug build, related to this new PR: https://github.com/NixOS/nixpkgs/pull/409943
m Monospace styling changes on new debug build section
Line 634: Line 634:
See [https://docs.python.org/3/using/configure.html#python-debug-build python wiki on debug build].
See [https://docs.python.org/3/using/configure.html#python-debug-build python wiki on debug build].


In order to use a CPython interpreter built using `--with-pydebug` during configure phase, override any of the python packages passing `enableDebug = true` argument:
In order to use a CPython interpreter built using <code>--with-pydebug</code> during configure phase, override any of the python packages passing <code>enableDebug = true</code> argument:


<code>pythonDebug = pkgs.python310.override { enableDebug = true; };</code>
<code>pythonDebug = pkgs.python310.override { enableDebug = true; };</code>