This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Make python -V -V output arguments of configure
Type: enhancement Stage: resolved
Components: Versions:
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Volker Weißmann, zach.ware
Priority: normal Keywords:

Created on 2020-04-02 20:11 by Volker Weißmann, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg365620 - (view) Author: Volker Weißmann (Volker Weißmann) * Date: 2020-04-02 20:11
As you might know, you can e.g. compile a version with
../configure --with-pydebug
or with
Currently, there is no easy way to find out how an installation on your machine was compiled. It would be nice if python -V -V would output every argument of configure.
msg365623 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020-04-02 20:20
How about `python3 -c 'import sysconfig;print(sysconfig.get_config_vars()["CONFIG_ARGS"])'`?
Date User Action Args
2022-04-11 14:59:28adminsetgithub: 84340
2020-04-02 20:29:31Volker Weißmannsetstatus: open -> closed
stage: resolved
2020-04-02 20:20:35zach.waresetnosy: + zach.ware
messages: + msg365623
2020-04-02 20:11:36Volker Weißmanncreate