Title: Remove try/excepts that exist for Python 2 compatibility · Issue #6120 · getsentry/sentry-python · GitHub
Open Graph Title: Remove try/excepts that exist for Python 2 compatibility · Issue #6120 · getsentry/sentry-python
X Title: Remove try/excepts that exist for Python 2 compatibility · Issue #6120 · getsentry/sentry-python
Description: 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/gets...
Open Graph Description: 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 fo...
X Description: 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 branc...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/6120
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove try/excepts that exist for Python 2 compatibility","articleBody":"As we no longer support Python 2, we should clean up the residual code that we have around that `try/except`s modules that didn't exist in Python 2 but do in Python 3.\n\nSee this experimental branch for some examples: [https://github.com/getsentry/sentry-python/pull/6091/changes](\u003chttps://github.com/getsentry/sentry-python/pull/6091/changes>)","author":{"url":"https://github.com/ericapisani","@type":"Person","name":"ericapisani"},"datePublished":"2026-04-21T14:44:52Z","url":"https://github.com/getsentry/sentry-python/issues/6120"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6f69e0c6-47c1-313a-0bf6-b5cfdca18464 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD44:363D8E:479FF3:5E199D:6B00C825 |
| html-safe-nonce | 8b872d14c190a3bc597f6b67ac6e157068cfe6b7ca54c7f642e9c67c87a72ed5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDQ0OjM2M0Q4RTo0NzlGRjM6NUUxOTlEOjZCMDBDODI1IiwidmlzaXRvcl9pZCI6IjEzODU2NDMxMjgyMTk4MTM5MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a3a4456ccd9a4acae08e64d8bcd627a94af6b258225baee56de007a6804755b8 |
| hovercard-subject-tag | issue:4303379162 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/6120/issue_layout |
| twitter:image | https://opengraph.githubassets.com/07bc40968a496441df1ca1771bdd5c8dc1ee1185c701d0129497dac572380676/getsentry/sentry-python/issues/6120 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/07bc40968a496441df1ca1771bdd5c8dc1ee1185c701d0129497dac572380676/getsentry/sentry-python/issues/6120 |
| og:image:alt | 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 fo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericapisani |
| hostname | github.com |
| expected-hostname | github.com |
| None | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width