Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unexceptional-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unexceptional-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

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

Hashes for unexceptional-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bc843cd1474b48ff5744114be8f08eba69c6aa519055e41ba486ffabdc453f8f
MD5 4b0ffc0110556e969ea9d0dda5d2d427
BLAKE2b-256 724cf2668f0c136a0e84b13b195b279f6900996f209ab01147d3f7b32460215e

See more details on using hashes here.

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

Hashes for unexceptional-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cf0ddaf351d09b62f70d691aec1a8c3b5c5e5d1c226cf6059857b91100f01595
MD5 3237ab919e09be0068b7844d3dd11135
BLAKE2b-256 0c7a78b7944e4b70109733e181c80e46c4047e9fffd551218046cca14d18effb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page