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

Update gperftools integration for python3/musl #38675

Merged
merged 2 commits into from
Nov 3, 2024

Conversation

orlitzky
Copy link
Contributor

Update this module for python3, and then fix #33047 by using cysignals instead of trying to guess the name of my libc.

Copy link

github-actions bot commented Sep 18, 2024

Documentation preview for this PR (built with commit 7c161ed; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

C functions take bytes, not python strings. Without this, the profiler
tries to write to "/", fails, and proceeds to do very little.
When the profiler is starting, this module goes to a lot of trouble to
do... exactly what cysignals is designed to do. And cysignals does not
fail on musl. So let's use cysignals instead?
@orlitzky
Copy link
Contributor Author

@fchapoton can I interest you in one last python2 -> python3 update?

Copy link
Contributor

@fchapoton fchapoton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, to my naive eyes

@orlitzky
Copy link
Contributor Author

Thank you!

@vbraun vbraun merged commit 31d7925 into sagemath:develop Nov 3, 2024
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ctypes.utils.find_library broken on musl libc
3 participants