- Added support for
__context__
,__suppress_context__
and__notes__
. Contributed by Tim Maxwell in #72. - Added the
get_locals
argument totblib.pickling_support.install()
,tblib.Traceback
andtblib.Frame
. Fixes #41. - Dropped support for now-EOL Python 3.7 and added 3.12 in the test grid.
- Removed support for legacy Pythons (2.7 and 3.6) and added Python 3.11 in the test grid.
- Some cleanups and refactors (mostly from ruff).
- Add more attributes to
Frame
andCode
objects for pytest compatibility. Contributed by Ivanq in #58.
- When pickling an Exception, also pickle its traceback and the Exception chain
(
raise ... from ...
). Contributed by Guido Imperiale in #53.
- Added support for Python 3.8. Contributed by Victor Stinner in #42.
- Removed support for end of life Python 3.4.
- Few CI improvements and fixes.
- Removed support for end of life Python 3.3.
- Fixed tests for Python 3.7. Contributed by Elliott Sales de Andrade in #36.
- Fixed compatibility issue with Twised (
twisted.python.failure.Failure
expected aco_code
attribute).
- Add support for PyPy3.5-5.7.1-beta. Previously
AttributeError: 'Frame' object has no attribute 'clear'
could be raised. See PyPy issue #2532.
- Fixed handling for tracebacks due to exceeding the recursion limit. Fixes #15.
- Added
Traceback.from_string
.
- Fixed handling for tracebacks from generators and other internal improvements and optimizations. Contributed by DRayX in #10 and #11.
- Added support for Python 2.6. Contributed by Arcadiy Ivanov in #8.
- Added
to_dict
method andfrom_dict
classmethod on Tracebacks. Contributed by beckjake in #5.