| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…onGH-122528) Frames of methods in code and codeop modules was show with non-default sys.excepthook. Save correct tracebacks in sys.last_traceback and update __traceback__ attribute of sys.last_value and sys.last_exc. (cherry picked from commit e73e7a7) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
| # over self.write | ||
| self._call_excepthook(type, value, tb) | ||
| try: | ||
| typ, value, tb = sys.exc_info() |
There was a problem hiding this comment.
These days we do exc = sys.exception() and then use exc.__traceback__ and type(exc).
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good to me
Sorry, something went wrong.
|
backport happened in #123227 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Frames of methods in code and codeop modules was show with non-default
sys.excepthook.
Save correct tracebacks in sys.last_traceback and update traceback
attribute of sys.last_value and sys.last_exc.
(cherry picked from commit e73e7a7)
Co-authored-by: Serhiy Storchaka storchaka@gmail.com