Sorry, something went wrong.
|
Do we have tests for this feature? |
Sorry, something went wrong.
|
Ah right, totally forgot about that. @SnoopJ could you add some test case to use ! with spaces? The doctests in test_pdb.py should not be too hard to follow, let me know if you have any questions. |
Sorry, something went wrong.
|
No problem, added in ebf179d. I couldn't find any pre-existing tests of the feature, so let me know if the test I added should also explicitly test the spelling without any leading whitespace |
Sorry, something went wrong.
|
Sorry about the force-push, I wanted to be sure that the Co-authored-by attribution was present since I didn't use the suggestion UI to make that change. |
Sorry, something went wrong.
|
Sorry about the force-push, I wanted to be sure that the Co-authored-by attribution was present since I didn't use the suggestion UI to make that change. There's no need for it (minor code review suggestions do not typically need to imply coauthorship). |
Sorry, something went wrong.
|
there's a test failure |
Sorry, something went wrong.
This changeset fixes #104301 by allowing leading whitespace in statements prefixed by ! in pdb, as an alternate to #104302, suggested here.
This PR also adds a corresponding example of the pdb documentation.
📚 Documentation preview 📚: https://cpython-previews--104342.org.readthedocs.build/