gh-127604: Docs: Include a C stack in the faulthandler example#136081
gh-127604: Docs: Include a C stack in the faulthandler example#136081ZeroIntensity merged 2 commits intopython:mainfrom
faulthandler example#136081Conversation
faulthandler examplefaulthandler example
|
@picnixz Are you around to do a quick review? |
|
I'm around for 3h max and then I'm off for 10 days. |
picnixz
left a comment
There was a problem hiding this comment.
Let's omit some lines even if it won't be omitted. If we change how string_at behaves or if the way calls are performed change, then it will need us to rewrite this example. Instead, I suggest to have some ... after _Py_DumpStack
|
I think it's ok to keep the addresses there for completeness, it's there as an example, not necessarily as a precise depiction of what happens if you call |
|
May I suggest replacing |
picnixz
left a comment
There was a problem hiding this comment.
I trust you about the different line numbers (hopefully it's coming from a real example).
|
Yeah, I just copy-pasted the output from a local run of |
|
Thanks @ZeroIntensity for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
pythonGH-136081) (cherry picked from commit 3947847) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
|
GH-136102 is a backport of this pull request to the 3.14 branch. |
This is to showcase the new feature in 3.14.
faulthandler#127604📚 Documentation preview 📚: https://cpython-previews--136081.org.readthedocs.build/en/136081/library/faulthandler.html#example