-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-109181: Speed up Traceback object creation by lazily compute the line number #111548
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
Conversation
pablogsal
commented
Oct 31, 2023
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Exceptions slow in 3.11, depending on location #109181
From this test:
Before:
After:
|
… the line number Signed-off-by: Pablo Galindo <[email protected]>
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @pablogsal, I could not cleanly backport this to
|
Sorry, @pablogsal, I could not cleanly backport this to
|
GH-111550 is a backport of this pull request to the 3.11 branch. |
…compute the line number (pythonGH-111548) Signed-off-by: Pablo Galindo <[email protected]>. (cherry picked from commit abb1542) Co-authored-by: Pablo Galindo Salgado <[email protected]>
GH-111551 is a backport of this pull request to the 3.12 branch. |
…compute the line number (pythonGH-111548) Signed-off-by: Pablo Galindo <[email protected]>. (cherry picked from commit abb1542) Co-authored-by: Pablo Galindo Salgado <[email protected]>
…compute the line number (pythonGH-111548) Signed-off-by: Pablo Galindo <[email protected]>. (cherry picked from commit abb1542) Co-authored-by: Pablo Galindo Salgado <[email protected]> Signed-off-by: Pablo Galindo <[email protected]>
…compute the line number (pythonGH-111548) Signed-off-by: Pablo Galindo <[email protected]>. (cherry picked from commit abb1542) Co-authored-by: Pablo Galindo Salgado <[email protected]> Signed-off-by: Pablo Galindo <[email protected]>
…lazily compute the line number (pythonGH-111548)
… the line number (python#111548) Signed-off-by: Pablo Galindo <[email protected]>
… the line number (python#111548) Signed-off-by: Pablo Galindo <[email protected]>
… the line number (python#111548) Signed-off-by: Pablo Galindo <[email protected]>