bpo-39649: Remove obsolete check for __args__ in bdb.Bdb.format_stack_entry#18531
Conversation
…ck_entry Appears to be obsolete since 75bb54c.
|
Could you add a news entry? You can probably ignore the Codecov "failure". |
|
Shall we add some unittest? in case this logic will be break in future. |
I don't see why -- we're removing logic that was never functional in the first place. There's no need to test for that. |
|
Should this be backported, or does the change reflect a 3.9-only change in f_locals? |
It can be backported -- after all the commit the OP mentioned that makes this check obsolete happened in 1998. PS, still waiting for the OP (@blueyed) to add a news entry. |
|
If you want, and approve the code change, I will add a blurb and do the merges. |
|
Do it. |
Codecov Report
@@ Coverage Diff @@
## master #18531 +/- ##
==========================================
- Coverage 82.20% 82.07% -0.13%
==========================================
Files 1958 1955 -3
Lines 589743 584108 -5635
Branches 44457 44457
==========================================
- Hits 484772 479382 -5390
+ Misses 95308 95102 -206
+ Partials 9663 9624 -39
Continue to review full report at Codecov.
|
|
Thanks @blueyed for the PR, and @terryjreedy for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
|
GH-18635 is a backport of this pull request to the 3.8 branch. |
…ck_entry (pythonGH-18531) Appears to be obsolete since 75bb54c. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 4015d1c) Co-authored-by: Daniel Hahler <git@thequod.de>
|
GH-18636 is a backport of this pull request to the 3.7 branch. |
Appears to be obsolete since 75bb54c.
https://bugs.python.org/issue39649