See also discussion on https://github.com/getsentry/sentry-python/pull/3982
See also discussion on #3982