Metadata-Version: 2.1
Name: cs.py.stack
Version: 20190101
Summary: Convenience functions for the python execution stack.
Home-page: https://bitbucket.org/cameron_simpson/css/commits/all
Author: Cameron Simpson
Author-email: cs@cskk.id.au
License: UNKNOWN
Description: I find the supplied python traceback facilities quite awkward.
        These functions provide convenient facilities.
        
        ## Function `caller(frame_index=-3)`
        
        Return the `Frame` of the caller's caller.
        
        Useful `frame_index` values:
        * `-1`: caller, this function
        * `-2`: invoker, who wants to know the caller
        * `-3`: the calling function of the invoker
        
        ## Class `Frame`
        
        MRO: `Frame`, `builtins.tuple`  
        Namedtuple for stack frame contents.
        
        ## Function `frames()`
        
        Return the current stack as a list of Frame objects.
        
        ## Function `stack_dump(fp=None, indent=0, Fs=None)`
        
        Recite current or supplied stack to `fp`, default sys.stderr.
Keywords: python2,python3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Description-Content-Type: text/markdown
