After installing the version 0.7.9. I cannot run sentry with the python flag -OO (discard docstrings). This is because in sentry_sdk/integrations/__init__.py the following was addded:
iter_default_integrations.__doc__ += "\n- {}".format(import_string)
which in case of running with -OO __doc__ is None and you get the exception:
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
After installing the version 0.7.9. I cannot run sentry with the python flag -OO (discard docstrings). This is because in
sentry_sdk/integrations/__init__.pythe following was addded:iter_default_integrations.__doc__ += "\n-{}".format(import_string)which in case of running with -OO
__doc__isNoneand you get the exception:TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'