Skip to content

pout method to set sys.settrace #97

@Jaymon

Description

@Jaymon

https://docs.python.org/3/library/sys.html#sys.settrace (via How do I print functions as they are called?)

It would be cool to be able to do something like this:

with pout.trace():
    # do a bunch of stuff

and have pout print everything it traced while in the context manager.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions