An exception class which is not catchable when it was raised.
Project description
Uncatchable Exception
====================
.. image:: https://badge.fury.io/py/uncatchable-exception.png
:target: http://badge.fury.io/py/uncatchable-exception
.. image:: https://pypip.in/d/uncatchable-exception/badge.png
:target: https://crate.io/packages/uncatchable-exception/
.. image:: https://requires.io/github/bh/uncatchable-exception/requirements.png?branch=master
:target: https://requires.io/github/bh/uncatchable-exception/requirements/?branch=master
Description
-----------
You will get an exception class which is not catchable when it was raised.
Installation
------------
Use ``pip`` to install:
.. code:: bash
$ pip install uncatchable-exception --use-mirrors
Usage
-----
An example:
.. code:: python
from uncatchable_exception import UncatchableException
def raise_an_uncatchable_exception():
raise UncatchableException('Harr Harr!')
try:
raise_an_uncatchable_exception()
except:
print("Uncatchable exception caught")
Yeah, the Python process is hanging, kill it with ``^C``
====================
.. image:: https://badge.fury.io/py/uncatchable-exception.png
:target: http://badge.fury.io/py/uncatchable-exception
.. image:: https://pypip.in/d/uncatchable-exception/badge.png
:target: https://crate.io/packages/uncatchable-exception/
.. image:: https://requires.io/github/bh/uncatchable-exception/requirements.png?branch=master
:target: https://requires.io/github/bh/uncatchable-exception/requirements/?branch=master
Description
-----------
You will get an exception class which is not catchable when it was raised.
Installation
------------
Use ``pip`` to install:
.. code:: bash
$ pip install uncatchable-exception --use-mirrors
Usage
-----
An example:
.. code:: python
from uncatchable_exception import UncatchableException
def raise_an_uncatchable_exception():
raise UncatchableException('Harr Harr!')
try:
raise_an_uncatchable_exception()
except:
print("Uncatchable exception caught")
Yeah, the Python process is hanging, kill it with ``^C``
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 Distributions
Built Distribution
Close
Hashes for uncatchable-exception-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 625be1ee3696ae2a1b8456c76c7c743eb097002af6af4e00f3a1ee1007ba15dd |
|
MD5 | ed8265b1873d2703eca064bacaf81aee |
|
BLAKE2b-256 | f218e4b063af087d4962cac6e87ee82e2718ebe19217c09328b9f7b75e473bb7 |
Close
Hashes for uncatchable-exception-0.1.2.tar.bz2
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91944bfc760827ae6f5a95a8fd5aca5c26126bb10b136cdf696ead1a9ae2ab50 |
|
MD5 | 74549e153c09edc2b357194eb36d4930 |
|
BLAKE2b-256 | 34872598e5d514359329941ef61d2a3ef4a56d5c2018237cff4578a4581a9943 |
Close
Hashes for uncatchable_exception-0.1.2-py34-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 122c7bcd6c73f392d7dd7994cf61d00e03a8d4192fc761239d47b302aedffe72 |
|
MD5 | f3a5e866ddba510680ba77cee8108820 |
|
BLAKE2b-256 | af02c5de2aa64c64058a57aa6961f51b10dcf107a5b4a06fa2ce0d6fdfdca5ed |