I find the supplied python traceback facilities quite awkward. These functions provide convenient facilities.
Presented:
Frame, a nametuple for a stack frome with a nice __str__.
frames(), returning the current stack as a list of Frames.
caller(), returning the Frame of the caller’s caller.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cs.py.stack-20150115.tar.gz
(1.6 kB
view details)
File details
Details for the file cs.py.stack-20150115.tar.gz.
File metadata
- Download URL: cs.py.stack-20150115.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5d3e14730c1b5d141ea844dda0b4cb0806612704fef9e4ab7c4b93bf5df18e8
|
|
| MD5 |
d604191534715f210390e74cae2a54ba
|
|
| BLAKE2b-256 |
8910cd902ebee1de9643a9de2d9b8dff6f781895c410183b095255c5e9158afd
|