Skip to main content

sys.excepthook helper for Python to send backtraces to the journal

GIT:

git@github.com:systemd/systemd-coredump-python.git https://github.com/systemd/systemd-coredump-python.git

BUG REPORTS:

https://github.com/systemd/systemd-coredump-python/issues

LICENSE:

GPLv2.1+ for all code

REQUIREMENTS:

Python 2.x or 3.x. Tested with CPython, PyPy, PyPy3.

(Does not work with Jython: 2.5 is too old, and 2.7 is broken, see http://bugs.jython.org/issue2405.)

systemd v. 233 or later is required.

USAGE:

For this module provides a function which may be installed as the sys.excepthook exception handler. It will generate a backtrace and invoke systemd-coredump(8) to send it to off to the journal along with some additional metadata about the python process.

When installed, a .pth file is also installed which loads this module and checks if it should handle sys.excepthook. It will be automatically enabled if /proc/sys/kernel/core_pattern specifies systemd-coredump.

It is also possible to unconditionally install this module as sys.excepthook by calling systemd_coredump_exception_handler.install(True).

SEE ALSO:

https://github.com/abrt/abrt/blob/master/src/hooks/abrt_exception_handler.py.in

Metadata

Release files for systemd-coredump-python 2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for systemd-coredump-python 2
File Size Uploaded Provenance
systemd-coredump-python-2.tar.gz 10.2 kB Without provenance Details

Release files / systemd-coredump-python-2.tar.gz

Download URL systemd-coredump-python-2.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
087a6b2c0bb2d0e9f83f71c7fe0ad6765db32084dc3c495e0ba6b8661cf11f85
BLAKE2b-256 checksum
How to use checksums
78b1435ef374107cc791bbeaaefbd41698ecb3a3f579ac1c98daa6c90ae0653b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for systemd-coredump-python 2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2 This release

1 release file No provenance

1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page