Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add Python debug builds with Py_DEBUG flag #885

Open
XuehaiPan opened this issue Jun 9, 2024 · 2 comments
Open

[Feature Request] Add Python debug builds with Py_DEBUG flag #885

XuehaiPan opened this issue Jun 9, 2024 · 2 comments
Assignees
Labels
feature request New feature or request to improve the current logic

Comments

@XuehaiPan
Copy link

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:

Reference:

There is a Ubuntu package python-dbg built with debug flag.

Are you willing to submit a PR?

Yes

@XuehaiPan XuehaiPan added feature request New feature or request to improve the current logic needs triage labels Jun 9, 2024
@HarithaVattikuti
Copy link
Contributor

Hello @XuehaiPan
We appreciate your suggestion for a new feature! We'll make sure to address it when we have the opportunity

@aparnajyothi-y
Copy link
Contributor

Hello @XuehaiPan, Thank you for your suggestion. After careful review, we've decided to continue focusing on maintaining the core functionality of setup-python for now. While we recognize the value of enhanced debugging capabilities, the use case for Python debug builds with the Py_DEBUG flag seems to be limited to a smaller group of advanced users. Additionally, the added complexity and potential performance overhead may not provide significant value for the broader user base.

We appreciate your understanding and encourage you to keep sharing your feedback with us!

@aparnajyothi-y aparnajyothi-y self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

3 participants