Skip to content

Remove try/excepts that exist for Python 2 compatibility #6120

@ericapisani

Description

@ericapisani

As we no longer support Python 2, we should clean up the residual code that we have around that try/excepts modules that didn't exist in Python 2 but do in Python 3.

See this experimental branch for some examples: https://github.com/getsentry/sentry-python/pull/6091/changes

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions