@iritkatriel and some new contributors have been working on fixing some bugs in the pdb module, and I’ve begun reviewing that work. This is my first time working on the pdb module, which doesn’t seem to have had a consistent maintainer for a while now.
I know our general backporting policies well, including specifically for stdlib modules. But I’m still conflicted on whether these fixes should be backported to 3.9 and 3.8. The reason is that other debugging tools are likely relying on the existing (broken) behavior, since the pdb module is promoted as being extensible, with the interface being undocumented, “just read the code”.
So, should we simply not backport fixes, and mention them in the 3.10 “What’s New”? That seems to be the safest approach.
Example PRs with fixes: