No exceptions
Project description
Unexceptional
Tired of all those pesky uncaught Exceptions?
pip install unexceptional
In the REPL,
In the CLI,
In IPython & Jupyter,
No exceptions.
How do I escape this fresh hell?
pip uninstall unexceptional
What is even happening?
In order to achieve transparency to the user, this package is invoked at every interpreter startup by means of an included .pth file.
For the CPython interpreter, sys.excepthook is overridden with a no-op.
For IPython, a crime is committed:
Because the .pth file is invoked before IPython, a bastardized importlib.abc.MetaPathFinder is inserted into sys.meta_path to intercept future imports of IPython.core.interactiveshell.
The InteractiveShell.showtraceback method is then overridden with the no-op after the module is executed.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unexceptional-0.0.2.tar.gz.
File metadata
- Download URL: unexceptional-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc843cd1474b48ff5744114be8f08eba69c6aa519055e41ba486ffabdc453f8f
|
|
| MD5 |
4b0ffc0110556e969ea9d0dda5d2d427
|
|
| BLAKE2b-256 |
724cf2668f0c136a0e84b13b195b279f6900996f209ab01147d3f7b32460215e
|
File details
Details for the file unexceptional-0.0.2-py3-none-any.whl.
File metadata
- Download URL: unexceptional-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf0ddaf351d09b62f70d691aec1a8c3b5c5e5d1c226cf6059857b91100f01595
|
|
| MD5 |
3237ab919e09be0068b7844d3dd11135
|
|
| BLAKE2b-256 |
0c7a78b7944e4b70109733e181c80e46c4047e9fffd551218046cca14d18effb
|