Skip to content

(Optionally) display tracebacks with warnings #3559

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
blueyed opened this issue Jun 9, 2018 · 3 comments
Open

(Optionally) display tracebacks with warnings #3559

blueyed opened this issue Jun 9, 2018 · 3 comments
Labels
plugin: warnings related to the warnings builtin plugin topic: tracebacks related to displaying and handling of tracebacks type: enhancement new feature or API change, should be merged into features branch

Comments

@blueyed
Copy link
Contributor

blueyed commented Jun 9, 2018

As per carltongibson/django-filter#903 (comment) it might be useful to display tracebacks with warnings.

Since this makes the warnings section very verbose, this should become a separate option probably, or could be controlled through --verbose maybe.

@blueyed blueyed added type: enhancement new feature or API change, should be merged into features branch plugin: warnings related to the warnings builtin plugin labels Jun 9, 2018
@pytestbot
Copy link
Contributor

GitMate.io thinks possibly related issues are #1996 (Warnings handling), #132 (Pygmentize native tracebacks), #2684 (review warning stacklevels), #1370 (Print out pytest-warnings?), and #2332 (What is multicall warning?).

@nicoddemus nicoddemus added the topic: tracebacks related to displaying and handling of tracebacks label Jun 10, 2018
@blueyed
Copy link
Contributor Author

blueyed commented Jun 18, 2018

Would also be nice to automatically call pdb on warnings.

-W error --pdb works, but only for the first warning.

Maybe something like -W pdb could be added, which would behave similar to -W error --pdb, but continue afterwards instead of stopping.

@blueyed blueyed closed this as completed Nov 27, 2019
@sweenu
Copy link

sweenu commented Nov 27, 2019

Will this not be implemented after all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: warnings related to the warnings builtin plugin topic: tracebacks related to displaying and handling of tracebacks type: enhancement new feature or API change, should be merged into features branch
Projects
None yet
Development

No branches or pull requests

5 participants