See issue https://github.com/getsentry/raven-python/issues/333