classification
Title: distutils build/build_ext and --debug
Type: Stage: resolved
Components: Distutils Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: dstufft, eric.araujo, lazka, steve.dower
Priority: normal Keywords:

Created on 2018-03-28 14:21 by lazka, last changed 2021-02-03 18:19 by steve.dower. This issue is now closed.

Messages (2)
msg314593 - (view) Author: Christoph Reiter (lazka) * Date: 2018-03-28 14:21
The distutils "build" and "build_ext" commands provide a "--debug" option to enable building with debug information. But this option doesn't have any affect because the default CFLAGS contain "-g" (python3-config --cflags) so debug information is always included and "-g0" isn't passed if debug is False.

Is this intentional?
msg386334 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-02-03 18:19
Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools
History
Date User Action Args
2021-02-03 18:19:26steve.dowersetstatus: open -> closed

nosy: + steve.dower
messages: + msg386334

resolution: out of date
stage: resolved
2018-03-28 14:21:21lazkacreate