WTF is a Python post-mortem debug handler.
After an exception, a Pdb debugger will be started in the frame and line where the exception was raised. The IPython debugger will be used by default if available, Otherwise Python’s own pdb.Pdb.
See the accompanying LICENSE file for the licensing terms.
Usage
If with statement block support is available (default since 2.6), then WTF can be used as:
from wtf import WTF
with WTF:
... do something ...
If an exception is raised inside the with block, then a Pdb debugger will be started on the conflicting line.
WTF can be used as a function call also, with the same results.:
from wtf import WTF
try:
... do something ...
except:
WTF()
For more info, check the wtf.WTFHandler class.
Metadata
Release files for wtf 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wtf-0.1.tar.gz | 3.2 kB | Without provenance | Details for wtf-0.1.tar.gz |
Release files / wtf-0.1.tar.gz
| Download URL | wtf-0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49b44a4f1ca6cc4b39e5ae7d0bfc53681d04117a503513dc8ee2014004d8a62d
|
|
BLAKE2b-256 checksum How to use checksums |
41a6ebdb36bf9caefdf96f1b2382ae1bfc5b1d32d3b404a7cdffb5d5a24f84f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for wtf 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.