Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pdb chained exception decumentation issue #14870

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

Open
Carreau opened this issue Apr 8, 2025 · 3 comments
Open

Pdb chained exception decumentation issue #14870

Carreau opened this issue Apr 8, 2025 · 3 comments

Comments

@Carreau
Copy link
Member

Carreau commented Apr 8, 2025

Actually there's a bug in the documentation, it says you can use exception <number> but you actually need exceptions <number>. So for example exception 0 gives ** SyntaxError: invalid syntax, exceptions 0 works.

Originally posted by @user202729 in python/cpython#106676 (comment)

@user202729
Copy link
Contributor

Re. making this a [documentation] issue, maybe we would like exception N to work instead?

(on the other hand the question is, then do we want to deprecate exceptions N? Some may consider it a breaking change.)

@Carreau Carreau changed the title Pdb chained exception decupentation issue Pdb chained exception decumentation issue Apr 8, 2025
@Carreau
Copy link
Member Author

Carreau commented Apr 8, 2025

we could have both singular and plural work

@user202729
Copy link
Contributor

Speaking of which shouldn't this be an issue / feature request on pdb too, not just ipython?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants