FreeBSD.software
Home/devel/py311-tblib

py311-tblib

3.2.2

Traceback serialization library

Serialization library for Exceptions and Tracebacks. It allows you to: - Pickle tracebacks and raise exceptions with pickled tracebacks in different processes. This allows better error handling when running code over multiple processes (imagine multiprocessing, billiard, futures, celery etc). - Create traceback objects from strings (the from_string method). No pickling is used. - Serialize tracebacks to/from plain dicts (the from_dict and to_dict methods). No pickling is used. - Raise the tracebacks created from the aforementioned sources. - Pickle an Exception together with its traceback and exception chain (raise ... from ...) (Python 3 only) Again, note that using the pickle support is completely optional. You are solely responsible for security problems should you decide to use the pickle support.

Origin: devel/py-tblib
Category: devel
Size: 85.5KiB
License: BSD2CLAUSE
Maintainer: sunpoet@FreeBSD.org
Dependencies: 1 packages
Required by: 4 packages
$pkg install py311-tblib

Dependencies (1)

Required By (4 packages)

More in devel