René's URL Explorer Experiment


Title: [do not merge] ref: Remove residual Python 2 compatibility code by ericapisani · Pull Request #6091 · getsentry/sentry-python · GitHub

Open Graph Title: [do not merge] ref: Remove residual Python 2 compatibility code by ericapisani · Pull Request #6091 · getsentry/sentry-python

X Title: [do not merge] ref: Remove residual Python 2 compatibility code by ericapisani · Pull Request #6091 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: Summary Python 2 support was dropped in SDK 2.0.0, but a handful of Python 2 shims, unreachable branches, and stale py2 comments lingered. This PR cleans them up. No behavior change. Delete with_m...

X Description: Summary Python 2 support was dropped in SDK 2.0.0, but a handful of Python 2 shims, unreachable branches, and stale py2 comments lingered. This PR cleans them up. No behavior change. Delete with_m...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/6091

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9913e7d6-0aaa-4497-ed53-446a9a862498
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC296:3D97C8:210924:2D68AA:6B00C06D
html-safe-nonce604319a113ab2adf2f37b5ef47e0c6808646dc32261402d0ffa217ca5f25eec7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjk2OjNEOTdDODoyMTA5MjQ6MkQ2OEFBOjZCMDBDMDZEIiwidmlzaXRvcl9pZCI6IjY5MTY3MDcxNTMwODQ0NjUyNjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd1258ebadfc8b3ae27b1e963e6c4279256096e5af013a2ec4105b7b9eb9dfcd9
hovercard-subject-tagpull_request:3546880625
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/6091/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f945b3d33dcfbf06abae357acd27a6e1c515a179a925b9aa45cbeac4dbee83a9/getsentry/sentry-python/pull/6091
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f945b3d33dcfbf06abae357acd27a6e1c515a179a925b9aa45cbeac4dbee83a9/getsentry/sentry-python/pull/6091
og:image:altSummary Python 2 support was dropped in SDK 2.0.0, but a handful of Python 2 shims, unreachable branches, and stale py2 comments lingered. This PR cleans them up. No behavior change. Delete with_m...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericapisani
hostnamegithub.com
expected-hostnamegithub.com
None93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1fee81a280ea86312b69448e261b418189bfd5b5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/6091#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F6091
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F6091
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/pull/6091
Reloadhttps://github.com/getsentry/sentry-python/pull/6091
Reloadhttps://github.com/getsentry/sentry-python/pull/6091
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
ericapisanihttps://github.com/ericapisani
masterhttps://github.com/getsentry/sentry-python/tree/master
ep/python-v2-explore-4dyhttps://github.com/getsentry/sentry-python/tree/ep/python-v2-explore-4dy
Conversationhttps://github.com/getsentry/sentry-python/pull/6091
Commits3 (3)https://github.com/getsentry/sentry-python/pull/6091/commits
Checkshttps://github.com/getsentry/sentry-python/pull/6091/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/6091/files
[do not merge] ref: Remove residual Python 2 compatibility codehttps://github.com/getsentry/sentry-python/pull/6091#top
ericapisanihttps://github.com/ericapisani
masterhttps://github.com/getsentry/sentry-python/tree/master
ep/python-v2-explore-4dyhttps://github.com/getsentry/sentry-python/tree/ep/python-v2-explore-4dy
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
Apr 17, 2026https://github.com/getsentry/sentry-python/pull/6091#issue-4284538913
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6091
https://github.com/ericapisani
https://github.com/claude
ref: Remove residual Python 2 compatibility codehttps://github.com/getsentry/sentry-python/pull/6091/commits/25baa75f1140f695e050527ae75e09b4b580c41b
25baa75https://github.com/getsentry/sentry-python/pull/6091/commits/25baa75f1140f695e050527ae75e09b4b580c41b
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
Apr 17, 2026https://github.com/getsentry/sentry-python/pull/6091#event-24619083319
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 17, 2026https://github.com/getsentry/sentry-python/pull/6091#issuecomment-4270336730
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6091
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6091
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 17, 2026https://github.com/getsentry/sentry-python/pull/6091#issuecomment-4270344806
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6091
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6091
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 17, 2026https://github.com/getsentry/sentry-python/pull/6091#issuecomment-4270344834
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6091
ericapisanihttps://github.com/ericapisani
April 17, 2026 14:25https://github.com/getsentry/sentry-python/pull/6091#commits-pushed-c54e374
https://github.com/ericapisani
https://github.com/claude
fix(build): Update AWS Lambda layer wheel name for py3-only wheelhttps://github.com/getsentry/sentry-python/pull/6091/commits/c54e3748b48f3cfd3a6bd33624406ffab9fc5765
c54e374https://github.com/getsentry/sentry-python/pull/6091/commits/c54e3748b48f3cfd3a6bd33624406ffab9fc5765
https://github.com/ericapisani
https://github.com/claude
ref: Remove more residual Python 2 compatibility codehttps://github.com/getsentry/sentry-python/pull/6091/commits/e208cbd05427cdb0220547942453c800049066b5
e208cbdhttps://github.com/getsentry/sentry-python/pull/6091/commits/e208cbd05427cdb0220547942453c800049066b5
25baa75https://github.com/getsentry/sentry-python/commit/25baa75f1140f695e050527ae75e09b4b580c41b
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
Apr 21, 2026https://github.com/getsentry/sentry-python/pull/6091#event-24717335703
https://github.com/ericapisani
ericapisanihttps://github.com/ericapisani
April 21, 2026 12:31https://github.com/getsentry/sentry-python/pull/6091#event-24717363096
https://github.com/hemu9
hemu9https://github.com/hemu9
Sep 6, 2026 https://github.com/getsentry/sentry-python/pull/6091#ref-issue-4303379162
Remove try/excepts that exist for Python 2 compatibility #6120 https://github.com/getsentry/sentry-python/issues/6120
https://github.com/apps/sentry-junior
sentry-juniorhttps://github.com/apps/sentry-junior
Oct 29, 2026 https://github.com/getsentry/sentry-python/pull/6091#ref-pullrequest-6098850582
ref(compat): Remove unused with_metaclass helper #8153 https://github.com/getsentry/sentry-python/pull/8153
sentrivanahttps://github.com/sentrivana
Oct 29, 2026 https://github.com/getsentry/sentry-python/pull/6091#ref-commit-9325cca
https://github.com/apps/sentry-junior
https://github.com/sentrivana
ref(compat): Remove unused with_metaclass helper (https://github.com/getsentry/sentry-python/commit/9325cca9a995ec2cdb24c52af7b51fffd858372f
#8153https://github.com/getsentry/sentry-python/pull/8153
)https://github.com/getsentry/sentry-python/commit/9325cca9a995ec2cdb24c52af7b51fffd858372f
9325ccahttps://github.com/getsentry/sentry-python/commit/9325cca9a995ec2cdb24c52af7b51fffd858372f
#6919https://github.com/getsentry/sentry-python/pull/6919
#6091https://github.com/getsentry/sentry-python/pull/6091
#7421https://github.com/getsentry/sentry-python/pull/7421
https://junior-prod.sentry.dev/conversations/slack%3AC0BTREZTS2Z%3A1793270559.842119https://junior-prod.sentry.dev/conversations/slack%3AC0BTREZTS2Z%3A1793270559.842119
https://sentry.sentry.io/explore/conversations/slack%3AC0BTREZTS2Z%3A1793270559.842119/?project=4510944073809921https://sentry.sentry.io/explore/conversations/slack%3AC0BTREZTS2Z%3A1793270559.842119/?project=4510944073809921
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F6091
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6091
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/6091
https://github.com/ericapisani
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.