]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-98894: Fix DTrace test_check_probes for shared builds (GH-151122) (#151235)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 10 Jun 2026 11:35:01 +0000 (13:35 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2026 11:35:01 +0000 (11:35 +0000)
commit153607ef892908d67a196e90a901af87adfb779d
tree6d09fbc7221d4e32688c7fa56652962e17c12767
parent0b6adeb20f5d7c8b81673d14e0a4db41fd2fca2d
[3.15] gh-98894: Fix DTrace test_check_probes for shared builds (GH-151122) (#151235)

gh-98894: Fix DTrace test_check_probes for shared builds (GH-151122)

When building with --enable-shared, the SystemTap/DTrace notes
live in libpython. Add detection logic to be used by readelf.

Force the C locale on readelf output.
(cherry picked from commit 3a08e9373977788e7691ec0a973fbe1abe170c91)

Co-authored-by: stratakis <cstratak@redhat.com>
Lib/test/test_dtrace.py