Skip to main content

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.

Release files for cs-excutils 20150118

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

Source distribution (sdist)

Source distribution for cs-excutils 20150118
File Size Uploaded
cs.excutils-20150118.tar.gz 3.4 kB Details

Release files / cs.excutils-20150118.tar.gz

Download URL cs.excutils-20150118.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1001db6293685b47b8ec9d813e05b7f99bdc773f27894399d8e94d9c9e264035
BLAKE2b-256 checksum
How to use checksums
6da3dadb4c01fa3b84a24cfed47c228008bec0511184acd92afbee57419f9186
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

20150118 This release

1 release file

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