René's URL Explorer Experiment


Title: [Regression: 0.470->0.501] Lots of new errors relating to "uninhabited" in Django-based app code · Issue #2978 · python/mypy · GitHub

Open Graph Title: [Regression: 0.470->0.501] Lots of new errors relating to "uninhabited" in Django-based app code · Issue #2978 · python/mypy

X Title: [Regression: 0.470->0.501] Lots of new errors relating to "uninhabited" in Django-based app code · Issue #2978 · python/mypy

Description: git clone https://github.com/inducer/relate cd relate ./run-mypy.sh used to work with no warnings in 0.470. Now, it spews this: course/content.py:877: error: has no attribute "id" course/content.py:1445: error:

Open Graph Description: git clone https://github.com/inducer/relate cd relate ./run-mypy.sh used to work with no warnings in 0.470. Now, it spews this: course/content.py:877: error: has no attribute "id" cou...

X Description: git clone https://github.com/inducer/relate cd relate ./run-mypy.sh used to work with no warnings in 0.470. Now, it spews this: course/content.py:877: error: <uninhabited> has no attribute &q...

Opengraph URL: https://github.com/python/mypy/issues/2978

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Regression: 0.470->0.501] Lots of new errors relating to \"uninhabited\" in Django-based app code","articleBody":"```\r\ngit clone https://github.com/inducer/relate\r\ncd relate\r\n./run-mypy.sh\r\n```\r\n\r\nused to work with no warnings in 0.470. Now, it spews this:\r\n\r\n```\r\ncourse/content.py:877: error: \u003cuninhabited> has no attribute \"id\"\r\ncourse/content.py:1445: error: \u003cuninhabited> has no attribute \"preview_git_commit_sha\"\r\ncourse/content.py:1446: error: \u003cuninhabited> has no attribute \"preview_git_commit_sha\"\r\ncourse/utils.py:179: error: \u003cuninhabited> has no attribute \"exam\"\r\ncourse/utils.py:533: error: \u003cuninhabited> has no attribute \"preview_git_commit_sha\"\r\ncourse/utils.py:534: error: \u003cuninhabited> has no attribute \"preview_git_commit_sha\"\r\ncourse/utils.py:583: error: \u003cuninhabited> has no attribute \"permissions\"\r\ncourse/enrollment.py:129: error: \u003cuninhabited> has no attribute \"roles\"\r\ncourse/enrollment.py:143: error: \u003cuninhabited> has no attribute \"permissions\"\r\ncourse/views.py:156: error: \u003cuninhabited> has no attribute \"has_permission\"\r\ncourse/flow.py:416: error: \u003cuninhabited> has no attribute \"user\"\r\ncourse/flow.py:633: error: \u003cuninhabited> has no attribute \"answer\"\r\ncourse/flow.py:830: error: \u003cuninhabited> has no attribute \"get_most_recent_grade\"\r\ncourse/flow.py:848: error: Unsupported left operand type for + (some union)\r\ncourse/flow.py:855: error: Unsupported left operand type for + (some union)\r\ncourse/flow.py:862: error: Unsupported left operand type for + (some union)\r\ncourse/flow.py:923: error: \u003cuninhabited> has no attribute \"is_submitted_answer\"\r\ncourse/flow.py:924: error: \u003cuninhabited> has no attribute \"save\"\r\ncourse/flow.py:1264: error: \u003cuninhabited> has no attribute \"get_most_recent_grade\"\r\n```\r\n\r\nFocusing on the first error:\r\n\r\nhttps://github.com/inducer/relate/blob/fed97182f4e8940bb032a224c5cbcd007a8bd722/course/content.py#L877\r\n\r\nit should be clear that `course` is an instance of `Course` (i.e. not None).","author":{"url":"https://github.com/inducer","@type":"Person","name":"inducer"},"datePublished":"2017-03-08T01:02:50Z","url":"https://github.com/python/mypy/issues/2978"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:36b83cdf-fd28-b1d4-4857-52c726904e13
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8D74:7F150:12DC030:18C0349:6B000637
html-safe-nonceac4c9406f354b40f059078d83b2fd54d808027c708416b1a22603d46d5dcfc31
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDc0OjdGMTUwOjEyREMwMzA6MThDMDM0OTo2QjAwMDYzNyIsInZpc2l0b3JfaWQiOiIxMzA0NjQ3MTMxNzEzMjQyNjc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdde9d8411b27bb9f094a354f396f67aa0bb55b189a9fef393a61cc745bfeaeca
hovercard-subject-tagissue:212607345
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/mypy/2978/issue_layout
twitter:imagehttps://opengraph.githubassets.com/579eeeb058ad1f0ddc849fc55bfa2688867a66ba9ec7c81238c4d8afd16d4902/python/mypy/issues/2978
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/579eeeb058ad1f0ddc849fc55bfa2688867a66ba9ec7c81238c4d8afd16d4902/python/mypy/issues/2978
og:image:altgit clone https://github.com/inducer/relate cd relate ./run-mypy.sh used to work with no warnings in 0.470. Now, it spews this: course/content.py:877: error: has no attribute "id" cou...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameinducer
hostnamegithub.com
expected-hostnamegithub.com
None0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729
turbo-cache-controlno-preview
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release16a11879678aaf97e2a42c33ee70830aa084fa37
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/mypy/issues/2978#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fissues%2F2978
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%2Fpython%2Fmypy%2Fissues%2F2978
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fmypy
Reloadhttps://github.com/python/mypy/issues/2978
Reloadhttps://github.com/python/mypy/issues/2978
Reloadhttps://github.com/python/mypy/issues/2978
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests547 (547)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/2978
New issuehttps://github.com/login?return_to=https://github.com/python/mypy/issues/2978
[Regression: 0.470->0.501] Lots of new errors relating to "uninhabited" in Django-based app codehttps://github.com/python/mypy/issues/2978#top
https://github.com/JukkaL
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
topic-strict-optionalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-strict-optional%22
https://github.com/inducer
inducerhttps://github.com/inducer
on Mar 8, 2017https://github.com/python/mypy/issues/2978#issue-212607345
https://github.com/inducer/relate/blob/fed97182f4e8940bb032a224c5cbcd007a8bd722/course/content.py#L877https://github.com/inducer/relate/blob/fed97182f4e8940bb032a224c5cbcd007a8bd722/course/content.py#L877
gvanrossumhttps://github.com/gvanrossum
topic-strict-optionalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-strict-optional%22
on Mar 8, 2017https://github.com/python/mypy/issues/2978#event-990622403
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Mar 8, 2017https://github.com/python/mypy/issues/2978#issuecomment-284915926
@ddfisherhttps://github.com/ddfisher
gvanrossumhttps://github.com/gvanrossum
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
on Mar 8, 2017https://github.com/python/mypy/issues/2978#event-990629812
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Mar 8, 2017https://github.com/python/mypy/issues/2978#issuecomment-284916608
@inducerhttps://github.com/inducer
https://github.com/inducer
inducerhttps://github.com/inducer
on Mar 8, 2017https://github.com/python/mypy/issues/2978#issuecomment-284921194
https://github.com/refi64
refi64https://github.com/refi64
on Mar 9, 2017https://github.com/python/mypy/issues/2978#issuecomment-285433821
https://github.com/refi64
refi64https://github.com/refi64
on Mar 9, 2017https://github.com/python/mypy/issues/2978#issuecomment-285436668
9496d6fhttps://github.com/python/mypy/commit/9496d6fff275162e067b89010d509fc618d8ec38
https://github.com/refi64
refi64https://github.com/refi64
on Mar 9, 2017https://github.com/python/mypy/issues/2978#issuecomment-285439463
9406886https://github.com/python/mypy/commit/94068868b96f066176ca2cc690d3e7e9fc265a6f
https://github.com/refi64
refi64https://github.com/refi64
on Mar 9, 2017https://github.com/python/mypy/issues/2978#issuecomment-285443064
3cc5201https://github.com/python/mypy/commit/3cc52013c35dadda57964c7d4ae6c664bfc1329c
9496d6fhttps://github.com/python/mypy/commit/9496d6fff275162e067b89010d509fc618d8ec38
9406886https://github.com/python/mypy/commit/94068868b96f066176ca2cc690d3e7e9fc265a6f
3cc5201https://github.com/python/mypy/commit/3cc52013c35dadda57964c7d4ae6c664bfc1329c
https://github.com/refi64
refi64https://github.com/refi64
on Mar 9, 2017https://github.com/python/mypy/issues/2978#issuecomment-285461653
9496d6fhttps://github.com/python/mypy/commit/9496d6fff275162e067b89010d509fc618d8ec38
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on Mar 9, 2017https://github.com/python/mypy/issues/2978#issuecomment-285470693
https://github.com/refi64
refi64https://github.com/refi64
on Mar 9, 2017https://github.com/python/mypy/issues/2978#issuecomment-285475139
bad commit's messagehttps://github.com/python/mypy/commit/9496d6fff275162e067b89010d509fc618d8ec38
https://github.com/refi64
refi64https://github.com/refi64
on Mar 9, 2017https://github.com/python/mypy/issues/2978#issuecomment-285513254
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Mar 10, 2017https://github.com/python/mypy/issues/2978#issuecomment-285652937
JukkaLhttps://github.com/JukkaL
on Mar 10, 2017https://github.com/python/mypy/issues/2978#event-994787250
https://github.com/ddfisher
ddfisherhttps://github.com/ddfisher
on Mar 14, 2017https://github.com/python/mypy/issues/2978#issuecomment-286515788
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Mar 14, 2017https://github.com/python/mypy/issues/2978#issuecomment-286519615
@ddfisherhttps://github.com/ddfisher
JukkaLhttps://github.com/JukkaL
on Mar 19, 2017https://github.com/python/mypy/issues/2978#event-1005706137
Fix #2978.https://github.com/python/mypy/commit/c6fd9a63a038529c543d4ba274339e9f97e35adb
#2978https://github.com/python/mypy/issues/2978
https://docs.github.com/articles/closing-issues-via-commit-messages
c6fd9a6https://github.com/python/mypy/commit/c6fd9a63a038529c543d4ba274339e9f97e35adb
Fix #2978.https://github.com/python/mypy/commit/dc62a998f20d38351c1c806f09c2a13b32f09ba7
#2978https://github.com/python/mypy/issues/2978
https://docs.github.com/articles/closing-issues-via-commit-messages
dc62a99https://github.com/python/mypy/commit/dc62a998f20d38351c1c806f09c2a13b32f09ba7
JukkaLhttps://github.com/JukkaL
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#3025https://github.com/python/mypy/pull/3025
on Mar 29, 2017https://github.com/python/mypy/issues/2978#event-1020968266
JukkaLhttps://github.com/JukkaL
on Mar 29, 2017https://github.com/python/mypy/issues/2978#event-1020968407
Fixes to union simplification, isinstance and more (#3025)https://github.com/python/mypy/commit/67cda6e5ea5bb79b536f47946c90cf9f59faac87
#3025https://github.com/python/mypy/pull/3025
https://docs.github.com/articles/closing-issues-via-commit-messages
67cda6ehttps://github.com/python/mypy/commit/67cda6e5ea5bb79b536f47946c90cf9f59faac87
Fixes to union simplification, isinstance and more (#3025)https://github.com/python/mypy/commit/bf20f4988250b5bd03f2b6afd159264ad27677f3
#3025https://github.com/python/mypy/pull/3025
https://docs.github.com/articles/closing-issues-via-commit-messages
bf20f49https://github.com/python/mypy/commit/bf20f4988250b5bd03f2b6afd159264ad27677f3
https://github.com/JukkaL
JukkaLhttps://github.com/JukkaL
on Apr 4, 2017https://github.com/python/mypy/issues/2978#issuecomment-291468178
JukkaLhttps://github.com/JukkaL
on Apr 4, 2017https://github.com/python/mypy/issues/2978#event-1028185007
ilevkivskyihttps://github.com/ilevkivskyi
completedhttps://github.com/python/mypy/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
4141d20https://github.com/python/mypy/commit/4141d2039c709f3a8e591fa35a560e54c4e203d2
on Apr 4, 2017https://github.com/python/mypy/issues/2978#event-1028699576
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/mypy/issues/2978
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/mypy/issues/2978
JukkaLhttps://github.com/JukkaL
bugmypy got something wronghttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22bug%22
topic-strict-optionalhttps://github.com/python/mypy/issues?q=state%3Aopen%20label%3A%22topic-strict-optional%22
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.