-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
PEP-657 enhanced error locations in pytest tracebacks #10224
Comments
Hi @davidszotten, There's #10209 open to at least fall back to native traceback printing temporarily, #9159 tracks the full support. |
hi @nicoddemus , thanks for the quick reply. just to be clear, i'm talking about https://docs.python.org/3.11/whatsnew/3.11.html#enhanced-error-locations-in-tracebacks
not exception groups. or are the two tied together? |
🤦 Sorry indeed they are not related, sorry for the confusion. I don't think we have any plans regarding that (a quick search did not turn out much), but this is something we should definitely look into. |
Btw you asked for pointers: the traceback printing code starts in |
You can of course get the native representation with |
Made a draft pull request with a proof of concept implementation #13102 There's a few issues that need to be ironed out that I pointed out in there if anyone feels like driving it to completion. |
Hi. Are there any plans to support PEP-657 style enhanced tracebacks when on py 3.11? with some pointers i'd be happy to look at implemetation
The text was updated successfully, but these errors were encountered: