gh-120254: Add a `commands` argument to `pdb.Pdb`
- Issue: gh-120254
📚 Documentation preview 📚: https://cpython-previews--120255.org.readthedocs.build/
I moved this argument to set_trace() where it makes more sense. Partially due to the impact of #121451 - we won't create a Pdb instance every time we try to bring up a debugger.
Hi @brandtbucher , could you take a look at this feature and see if it's reasonable to add?
@brandtbucher do you think this needs a whatsnew entry?
I think NEWS is probably good enough, but you can certainly add it to What's New if you feel it's something that you want to publicize more! Adding and removing stuff from that doc is pretty lightweight.
I'll just merge this then!