Skip to content

Make annotations less fragile #60

@mdickinson

Description

@mdickinson

The annotations code is somewhat fragile: it makes assumptions that are often violated by real-world code (for example, that every bound method in Python 2 will have a non-None im_class attribute, or that every function will have a __name__ attribute).

It would probably be worth doing an except Exception around each annotation, logging any exceptions, and continuing.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions