Skip to content

functions appear in stack trace with their original name #55

@uriva

Description

@uriva

When running this:

def original_foo(): raise Exception()
makefun.create_function("foo()", original_foo)()

I want foo to be the name of the function in the stack trace. Any way I can achieve that using this lib?

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