| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Or fix it like this one was done?
cpython/Doc/howto/gdb_helpers.rst
Line 40 in 63cc125
Sorry, something went wrong.
I'm not sure. This comment remains on 3.10, 3.11 and 3.12 branches, would including Misc/gdbinit again be helpful? We could direct the reader to Doc/howto/gdb_helpers.rst maybe? |
Sorry, something went wrong.
|
Oh I only have the one line shown, I was referring to: "see Misc/gdbinit in the sources of Python 3.11 or earlier." |
Sorry, something went wrong.
|
Thanks. Personally, I don't find it necessary, because the 3.11 and earlier branches still will include the mention of Misc/gdbinit after we merge this. |
Sorry, something went wrong.
|
Why do those branches matter? The comment is for people on the branches where the file doesn't exist, no? |
Sorry, something went wrong.
I was thinking that mentioning Misc/gdbinit would not be useful to people on branches that don't contain the file, because they wouldn't need nor be able to use the file. If they needed to debug 3.11, they would check it out and the comment would be there. |
Sorry, something went wrong.
|
Do you have an example of when this is useful for someone debugging in the 3.13-3.15 branches only? |
Sorry, something went wrong.
|
Yeah, I agree with Bartosz here. The mention in the docs was added after Misc/gdbinit was removed, so I think it's intentional to keep that one. |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
Thanks @johnslavik for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Sorry, something went wrong.
…GH-143980) Fix misleading comment on `PyObject_Dump`. (cherry picked from commit f84ea11) Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
…GH-143980) Fix misleading comment on `PyObject_Dump`. (cherry picked from commit f84ea11) Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
|
GH-144044 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
|
GH-144045 is a backport of this pull request to the 3.13 branch. |
Sorry, something went wrong.
|
Merged, thanks for this cleanup. |
Sorry, something went wrong.
|
@vstinner, thanks for the review and for linking the issue! |
Sorry, something went wrong.
…#143980) Fix misleading comment on `PyObject_Dump`.
| Back | FazBrowse Home | New Git URL |
Misc/gdbinit was removed in GH-102854 (3.12.0a7).