René's URL Explorer Experiment


Title: chore(django): Use `iscoroutinefunction` shim in `patch_views()` by alexander-alderman-webb · Pull Request #7024 · getsentry/sentry-python · GitHub

Open Graph Title: chore(django): Use `iscoroutinefunction` shim in `patch_views()` by alexander-alderman-webb · Pull Request #7024 · getsentry/sentry-python

X Title: chore(django): Use `iscoroutinefunction` shim in `patch_views()` by alexander-alderman-webb · Pull Request #7024 · 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: Description Re-use the existing shim in django.asgi that vendors asgiref.sync.iscoroutinefunction(). The views.py and asgi.py files were split to keep Python 2 compatibility in #851. As we no long...

X Description: Description Re-use the existing shim in django.asgi that vendors asgiref.sync.iscoroutinefunction(). The views.py and asgi.py files were split to keep Python 2 compatibility in #851. As we no long...

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

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:875de7d2-35da-8784-cd1f-cbba52f26d31
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7DA:18DBD0:2A46F9:3A78FE:6B008836
html-safe-nonce05572c85059858a68488e5c2079765793c45f2c614a361cce20a859b9f9dd0a6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0RBOjE4REJEMDoyQTQ2Rjk6M0E3OEZFOjZCMDA4ODM2IiwidmlzaXRvcl9pZCI6IjcxNTkwNDEwMjMzNzk4MDIxNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac31b16898f592f177efa498bc584832f0b65a5f317dfaa1eb40f668436123d84a
hovercard-subject-tagpull_request:4200794682
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/7024/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fd09073c79659873668eeeeb4b05585b812116f66595ae29d9230ae7682fb90a/getsentry/sentry-python/pull/7024
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fd09073c79659873668eeeeb4b05585b812116f66595ae29d9230ae7682fb90a/getsentry/sentry-python/pull/7024
og:image:altDescription Re-use the existing shim in django.asgi that vendors asgiref.sync.iscoroutinefunction(). The views.py and asgi.py files were split to keep Python 2 compatibility in #851. As we no long...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexander-alderman-webb
hostnamegithub.com
expected-hostnamegithub.com
None4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61
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
releasedb758f8e02b8257935fb03edf81a3e76eb3abd11
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/7024#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F7024
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%2F7024
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/7024
Reloadhttps://github.com/getsentry/sentry-python/pull/7024
Reloadhttps://github.com/getsentry/sentry-python/pull/7024
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 requests41 (41)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
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/django-views-iscoroutinefunctionhttps://github.com/getsentry/sentry-python/tree/webb/django-views-iscoroutinefunction
Conversationhttps://github.com/getsentry/sentry-python/pull/7024
Commits2 (2)https://github.com/getsentry/sentry-python/pull/7024/commits
Checkshttps://github.com/getsentry/sentry-python/pull/7024/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/7024/files
chore(django): Use iscoroutinefunction shim in patch_views()https://github.com/getsentry/sentry-python/pull/7024#top
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/django-views-iscoroutinefunctionhttps://github.com/getsentry/sentry-python/tree/webb/django-views-iscoroutinefunction
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Aug 4, 2026https://github.com/getsentry/sentry-python/pull/7024#issue-5057488156
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7024
#851https://github.com/getsentry/sentry-python/pull/851
#4900https://github.com/getsentry/sentry-python/issues/4900
conventional commithttps://develop.sentry.dev/engineering-practices/commit-messages/#type
CONTRIBUTING.mdhttps://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md
Sentry SDK development docshttps://develop.sentry.dev/sdk/
Discord communityhttps://discord.gg/Ww9hbqr
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7024
https://github.com/alexander-alderman-webb
chore(django): Use iscoroutinefunction shim in patch_viewshttps://github.com/getsentry/sentry-python/pull/7024/commits/cd055175551883f00b63d7577bb36562e59488a2
cd05517https://github.com/getsentry/sentry-python/pull/7024/commits/cd055175551883f00b63d7577bb36562e59488a2
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
August 4, 2026 06:42https://github.com/getsentry/sentry-python/pull/7024#event-28931615827
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
code ownerhttps://github.com/getsentry/sentry-python/blob/52a7c266e111b9effda9fd0ebccfa6273c07ab0b/.github/CODEOWNERS#L1
August 4, 2026 06:42https://github.com/getsentry/sentry-python/pull/7024#event-28931616201
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 4, 2026https://github.com/getsentry/sentry-python/pull/7024#issuecomment-5175566500
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7024
sentry_sdk/integrations/django/views.pyhttps://github.com/getsentry/sentry-python/pull/7024/files#diff-81a59739a2267d87b39ad7b6a357d238121a4cddc47a40223873b6c53a1ea4f2
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7024
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
Aug 4, 2026 https://github.com/getsentry/sentry-python/pull/7024#pullrequestreview-4851576346
View reviewed changes https://github.com/getsentry/sentry-python/pull/7024/files/cd055175551883f00b63d7577bb36562e59488a2
sentrivanahttps://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/7024#pullrequestreview-4851576346
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7024
sentry_sdk/integrations/django/views.pyhttps://github.com/getsentry/sentry-python/pull/7024/files/cd055175551883f00b63d7577bb36562e59488a2#diff-81a59739a2267d87b39ad7b6a357d238121a4cddc47a40223873b6c53a1ea4f2
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7024
https://github.com/alexander-alderman-webb
use early returnshttps://github.com/getsentry/sentry-python/pull/7024/commits/c18d8ca8e674d10e43e4a951515e2697581baa27
c18d8cahttps://github.com/getsentry/sentry-python/pull/7024/commits/c18d8ca8e674d10e43e4a951515e2697581baa27
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Aug 4, 2026https://github.com/getsentry/sentry-python/pull/7024#event-28934910973
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
3e96fc3https://github.com/getsentry/sentry-python/commit/3e96fc3640350af89089067857c7dd1fa60f69b3
Aug 4, 2026https://github.com/getsentry/sentry-python/pull/7024#event-28934912169
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7024
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
August 4, 2026 07:57https://github.com/getsentry/sentry-python/pull/7024#event-28934913786
mgalignianahttps://github.com/mgaligniana
Aug 9, 2026 https://github.com/getsentry/sentry-python/pull/7024#ref-commit-0a61aa7
https://github.com/alexander-alderman-webb
https://github.com/Digenis
https://github.com/mgaligniana
chore(django): Usehttps://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735
iscoroutinefunctionhttps://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735
shim inhttps://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735
patch_views()https://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735
(https://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735
get…https://github.com/getsentry/sentry-python/pull/7024
0a61aa7https://github.com/mgaligniana/sentry-python/commit/0a61aa739d4dfe7f03af30f27f06360bf45ea735
…sentry#7024https://github.com/getsentry/sentry-python/pull/7024
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Aug 10, 2026 https://github.com/getsentry/sentry-python/pull/7024#ref-issue-5109498312
publish: getsentry/sentry-python@2.67.0 getsentry/publish#9190 https://github.com/getsentry/publish/issues/9190
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%2F7024
https://github.com/sentrivana
sentrivana https://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/7024/files/cd055175551883f00b63d7577bb36562e59488a2
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7024
Replace asyncio.iscoroutinefunction https://github.com/getsentry/sentry-python/issues/4900
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/7024
https://github.com/alexander-alderman-webb
https://github.com/sentrivana
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.