Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions