A package for with block that ignores exceptions
Project description
WithNoException
Python with block that ignores exceptions
Usage
from no_exception import NoException
def no_exception():
with NoException():
raise Exception()
print("Hi")
def exception():
raise Exception()
print("Hi")
no_exception() # Hi
exception() # Exception is raised
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
no_exception-1.0.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for no_exception-1.0.0-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | d5e4dfe656c318f8d27e6bff1b2ec907094dd8b28929209aec647062870006f9 |
|
| MD5 | 9bbdeb7bd1a53332e4550bc199278014 |
|
| BLAKE2b-256 | 49e6acf75479fbbe79660f64b95154a10aeec23b28210f37af985aa238a6c74e |