Skip to main content

Convenience functions for the python execution stack.

Project description

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.

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

cs.py.stack-20160827.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file cs.py.stack-20160827.tar.gz.

File metadata

File hashes

Hashes for cs.py.stack-20160827.tar.gz
Algorithm Hash digest
SHA256 976f96ca9cfb4b4775efd9149ce688ff7c7f3cbb889dd4a76b48c1b018c462ca
MD5 a0bc73e346873038a9668c85129cf6d6
BLAKE2b-256 1a00937d614a104c2a29e56f09e0b67299eccc68c33edac26d3191f6acf06f65

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