Allow switching to pretty-printer when using `gdb`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Can we remove If True: from gdb bindings?
I think it was created for future features, but it was 15 years ago.
Found 2 locations (not testcase for interpreter):
Additional information
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Reporter: Burkov Egor (eburkov@rvision.ru).
Organization: R-Vision (support@rvision.ru).
Linked PRs
- gh-138169
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in Tools/gdb/libpython.py at the two locations linked in the issue and inspect the surrounding gdb bindings. Confirm how the existing If True guards affect pretty-printer switching; done means the obsolete guards are removed at both locations and the gdb behavior is verified, while checking linked PR gh-138169 first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 30/100