Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-133741: Check strace version in support.strace_helper#133763

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
vstinner wants to merge1 commit intopython:mainfromvstinner:strace_version

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedMay 9, 2025
edited by bedevere-appbot
Loading

Need strace 5.5 or newer for the --trace option.

Need strace 5.5 or newer for the --trace option.
@vstinnervstinner marked this pull request as ready for reviewMay 9, 2025 14:18
@vstinnervstinner added the needs backport to 3.14bugs and security fixes labelMay 9, 2025
@vstinner
Copy link
MemberAuthor

Python 3.13 test_subprocess uses a different strategy: it runsstrace on the/bin/true program to check if strace works.

My PR parses the strace version fromstrace -V output.

@cmaloney
Copy link
Contributor

Could the version check go inside_can_strace (https://github.com/python/cpython/pull/133763/files#diff-f46934bbb48e17e6a386e49dd7375e2e5542c5d529bcadae34f3bb1e3575d3b5R203-R210). That already does a cache variable. Definitely like the approach of just disable on older strace versions.

@vstinner
Copy link
MemberAuthor

Could the version check go inside _can_strace

I wrote a simpler change:#133766

cmaloney reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@vstinner@cmaloney

[8]ページ先頭

©2009-2025 Movatter.jp