gh-149202: Implement PEP 831 – Frame Pointers Everywhere: Enabling System-Level Observability for Python#149201
Conversation
9d611e5 to
c1347c5
Compare
Documentation build overview
21 files changed ·
|
|
I think this also closes out on #96174 👀 |
|
@savannahostrowski We need a what's new entry as well i can add one tomorrow if you don't beat me to it. Also we need to tell people to add the option in their custom build systems as well |
Fidget-Spinner
left a comment
There was a problem hiding this comment.
I read the configure.ac code in detail, and looked at the docs as well.
emmatyping
left a comment
There was a problem hiding this comment.
One minor configure wording question, but otherwise looks good!
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Emma Smith <emma@emmatyping.dev>
|
Thanks for the reviews, folks! @pablogsal I've added a What's New and guidance for downstream folks too! |
|
Updating |
|
https://buildbot.python.org/#/release_status test_manual_unwind_respects_frame_pointers (test.test_frame_pointer_unwind.FramePointerUnwindTests.test_manual_unwind_respects_frame_pointers) ...
test_manual_unwind_respects_frame_pointers (test.test_frame_pointer_unwind.FramePointerUnwindTests.test_manual_unwind_respects_frame_pointers) (env={'PYTHON_JIT': '0'}) ... FAIL
Stdout:
#00 0x3ff7fa759d0 -> other
{"length": 1, "python_frames": 0, "jit_frames": 0, "other_frames": 1, "jit_backend": null}
======================================================================
FAIL: test_manual_unwind_respects_frame_pointers (test.test_frame_pointer_unwind.FramePointerUnwindTests.test_manual_unwind_respects_frame_pointers) (env={'PYTHON_JIT': '0'})
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/buildbot/worker/cstratak-fedora-stable-s390x/3.x.cstratak-fedora-stable-s390x/build/Lib/test/test_frame_pointer_unwind.py", line 205, in test_manual_unwind_respects_frame_pointers
self.assertGreater(
~~~~~~~~~~~~~~~~~~^
python_frames,
^^^^^^^^^^^^^^
0,
^^
f"expected to find Python frames on {self.machine} with env {env}",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
AssertionError: 0 not greater than 0 : expected to find Python frames on s390x with env {'PYTHON_JIT': '0'}
Stdout:
#00 0x3ff7fa759d0 -> other
{"length": 1, "python_frames": 0, "jit_frames": 0, "other_frames": 1, "jit_backend": null} |
|
It's also failing on ARM Raspbian ( |
|
I've seen the failures. Today I cannot see what's going on. It's bank holiday in the UK. I think I can replicate a Raspbian OS. In case I need is there a way to login on the S390x? |
Closes: #96174 #149202