Convenience facilities for managing exceptions.
Presents:
return_exc_info: call supplied function with arguments, return either (function_result, None) or (None, exc_info) if an exception was raised.
@returns_exc_info, a decorator for a function which wraps in it return_exc_info.
@noexc, a decorator for a function whose exceptions should never escape; instead they are logged. The initial use case was inside logging functions, where I have had a failed logging action abort a program. Obviously this is a decorator which should see very little use.
@noexc_gen, a decorator for generators with similar effect to @noexc for ordinary functions.
Metadata
Release files for cs-excutils 20160828
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cs.excutils-20160828.tar.gz | 3.7 kB | Without provenance | Details for cs.excutils-20160828.tar.gz |
Release files / cs.excutils-20160828.tar.gz
| Download URL | cs.excutils-20160828.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4d5329ba300c4b2487565113cab480eb9d4e7145468af896347e7881880369f
|
|
BLAKE2b-256 checksum How to use checksums |
24ebe6678866c570d669c85d120b6779714d485db700d31f1f8839767f51f89c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cs-excutils 20160828
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.