Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message when missing args to pdb command #126944

Open
hauntsaninja opened this issue Nov 18, 2024 · 0 comments
Open

Better error message when missing args to pdb command #126944

hauntsaninja opened this issue Nov 18, 2024 · 0 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@hauntsaninja
Copy link
Contributor

hauntsaninja commented Nov 18, 2024

Current behaviour:

λ ./python.exe -c 'breakpoint()'
> <string>(1)<module>()
-> breakpoint()
(Pdb) source
*** SyntaxError: invalid syntax

Proposed behaviour:

./python.exe -c 'breakpoint()'
> <string>(1)<module>()
-> breakpoint()
(Pdb) source
*** Missing arg!

Linked PRs

@hauntsaninja hauntsaninja added the type-feature A feature request or enhancement label Nov 18, 2024
hauntsaninja added a commit to hauntsaninja/cpython that referenced this issue Nov 18, 2024
@picnixz picnixz added the stdlib Python modules in the Lib dir label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants