René's URL Explorer Experiment


Title: Stubtest: Fix `__mypy-replace` false positives by AlexWaygood · Pull Request #15689 · python/mypy · GitHub

Open Graph Title: Stubtest: Fix `__mypy-replace` false positives by AlexWaygood · Pull Request #15689 · python/mypy

X Title: Stubtest: Fix `__mypy-replace` false positives by AlexWaygood · Pull Request #15689 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Running stubtest on typeshed's stdlib stubs with the mypy master branch (or the mypy 1.5 branch) produces the following output currently: error: pstats.FunctionProfile.__mypy-replace is not pre...

X Description: Running stubtest on typeshed's stdlib stubs with the mypy master branch (or the mypy 1.5 branch) produces the following output currently: error: pstats.FunctionProfile.__mypy-replace is not...

Opengraph URL: https://github.com/python/mypy/pull/15689

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:1fbc45dc-cd03-9547-4589-2b9cb4b7ad93
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAD44:28B491:2E53C3:3B827C:6AFFC62A
html-safe-noncecc810e8acf39640e3a03d6f54ae8ec87365d75101773b592ba668b299fcc2af2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDQ0OjI4QjQ5MToyRTUzQzM6M0I4MjdDOjZBRkZDNjJBIiwidmlzaXRvcl9pZCI6IjE1MTMzNDMyOTgxNTkwOTkzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc00811675d98512ae21b169ab667bbc94039268fbbd99fd6d4e934341760ad1d
hovercard-subject-tagpull_request:1436305750
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/python/mypy/15689/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0c0b6c3a8e887df74db66982e7f65f37d2e11306c85e471ecf2ffda8fd1d5158/python/mypy/pull/15689
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0c0b6c3a8e887df74db66982e7f65f37d2e11306c85e471ecf2ffda8fd1d5158/python/mypy/pull/15689
og:image:altRunning stubtest on typeshed's stdlib stubs with the mypy master branch (or the mypy 1.5 branch) produces the following output currently: error: pstats.FunctionProfile.__mypy-replace is not pre...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexWaygood
hostnamegithub.com
expected-hostnamegithub.com
None1e805b832df235bb21305db712c3b6432920019dfc12cb25b9cb8d3b0c9403cf
turbo-cache-controlno-cache
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
release8fa4a54e6871c7908eda1c246ad5972982c0b59d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/15689#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F15689
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%2Fpull%2F15689
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=python%2Fmypy
Reloadhttps://github.com/python/mypy/pull/15689
Reloadhttps://github.com/python/mypy/pull/15689
Reloadhttps://github.com/python/mypy/pull/15689
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
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
AlexWaygood:stubtest-dataclasseshttps://github.com/AlexWaygood/mypy/tree/stubtest-dataclasses
Conversationhttps://github.com/python/mypy/pull/15689
Commits6 (6)https://github.com/python/mypy/pull/15689/commits
Checkshttps://github.com/python/mypy/pull/15689/checks
Files changedhttps://github.com/python/mypy/pull/15689/files
Stubtest: Fix __mypy-replace false positiveshttps://github.com/python/mypy/pull/15689#top
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
AlexWaygood:stubtest-dataclasseshttps://github.com/AlexWaygood/mypy/tree/stubtest-dataclasses
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 16, 2023https://github.com/python/mypy/pull/15689#issue-1806627460
@ikonsthttps://github.com/ikonst
#12186https://github.com/python/mypy/issues/12186
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/AlexWaygood
Stubtest: Fix __mypy-replace false positiveshttps://github.com/python/mypy/pull/15689/commits/9daef788e8b511300d1f3006adff926aa7d400c1
9daef78https://github.com/python/mypy/pull/15689/commits/9daef788e8b511300d1f3006adff926aa7d400c1
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
hauntsaninjahttps://github.com/hauntsaninja
July 16, 2023 15:47https://github.com/python/mypy/pull/15689#event-9831352257
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 16, 2023 https://github.com/python/mypy/pull/15689#ref-issue-1788219629
Mypy 1.5 Release Planning #15588 https://github.com/python/mypy/issues/15588
https://github.com/ikonst
ikonsthttps://github.com/ikonst
Jul 16, 2023https://github.com/python/mypy/pull/15689#issuecomment-1637128003
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F15689
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 16, 2023https://github.com/python/mypy/pull/15689#issuecomment-1637141672
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/ikonst
ikonsthttps://github.com/ikonst
Jul 16, 2023https://github.com/python/mypy/pull/15689#issuecomment-1637186503
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 16, 2023https://github.com/python/mypy/pull/15689#issuecomment-1637204709
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/AlexWaygood
Rename flag to internal_fictionalhttps://github.com/python/mypy/pull/15689/commits/b1c008b8b420953258df425c0c842c4919181189
b1c008bhttps://github.com/python/mypy/pull/15689/commits/b1c008b8b420953258df425c0c842c4919181189
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 16, 2023 https://github.com/python/mypy/pull/15689#pullrequestreview-1531812967
View reviewed changes https://github.com/python/mypy/pull/15689/files/b1c008b8b420953258df425c0c842c4919181189
mypy/nodes.pyhttps://github.com/python/mypy/pull/15689/files/b1c008b8b420953258df425c0c842c4919181189#diff-d17e62a76795c1a5e75fb9bfe726570f0963e1a8e0430cb78fc6d069a7b46e68
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/AlexWaygood
Update mypy/nodes.pyhttps://github.com/python/mypy/pull/15689/commits/54347e5258ee52eaa2c38fc3c83924eef4d53dda
54347e5https://github.com/python/mypy/pull/15689/commits/54347e5258ee52eaa2c38fc3c83924eef4d53dda
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 16, 2023https://github.com/python/mypy/pull/15689#issuecomment-1637210929
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 16, 2023https://github.com/python/mypy/pull/15689#issuecomment-1637214484
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/ikonst
ikonsthttps://github.com/ikonst
Jul 17, 2023https://github.com/python/mypy/pull/15689#issuecomment-1637252822
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 22, 2023https://github.com/python/mypy/pull/15689#issuecomment-1646649437
Please reload this pagehttps://github.com/python/mypy/pull/15689
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 22, 2023https://github.com/python/mypy/pull/15689#issuecomment-1646650079
Please reload this pagehttps://github.com/python/mypy/pull/15689
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 22, 2023https://github.com/python/mypy/pull/15689#issuecomment-1646654283
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 22, 2023https://github.com/python/mypy/pull/15689#issuecomment-1646654987
#10545https://github.com/python/mypy/issues/10545
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 22, 2023https://github.com/python/mypy/pull/15689#issuecomment-1646655349
#10545https://github.com/python/mypy/issues/10545
Please reload this pagehttps://github.com/python/mypy/pull/15689
AlexWaygoodhttps://github.com/AlexWaygood
July 22, 2023 20:28https://github.com/python/mypy/pull/15689#commits-pushed-e83b124
https://github.com/AlexWaygood
Revert alll changeshttps://github.com/python/mypy/pull/15689/commits/e83b124bf8f305c9dd4e6bc27bb4990179896fcd
e83b124https://github.com/python/mypy/pull/15689/commits/e83b124bf8f305c9dd4e6bc27bb4990179896fcd
https://github.com/AlexWaygood
Merge branch 'master' into stubtest-dataclasseshttps://github.com/python/mypy/pull/15689/commits/20a17caf67ab321a19f944fab6a059d2634f3686
20a17cahttps://github.com/python/mypy/pull/15689/commits/20a17caf67ab321a19f944fab6a059d2634f3686
https://github.com/AlexWaygood
Just filter out all non-identifiers from stubtest names to checkhttps://github.com/python/mypy/pull/15689/commits/d9ca3325f1aa492dbf500e392e760cf48829b55c
d9ca332https://github.com/python/mypy/pull/15689/commits/d9ca3325f1aa492dbf500e392e760cf48829b55c
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 22, 2023https://github.com/python/mypy/pull/15689#issuecomment-1646663485
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 22, 2023 https://github.com/python/mypy/pull/15689#pullrequestreview-1542139425
View reviewed changes https://github.com/python/mypy/pull/15689/files/d9ca3325f1aa492dbf500e392e760cf48829b55c
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/15689#pullrequestreview-1542139425
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
6bdcc92https://github.com/python/mypy/commit/6bdcc92002a5e1a6feb1528d0221802f7514c836
Jul 22, 2023https://github.com/python/mypy/pull/15689#event-9891650595
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
July 22, 2023 20:47https://github.com/python/mypy/pull/15689#event-9891676017
AlexWaygoodhttps://github.com/AlexWaygood
Jul 22, 2023 https://github.com/python/mypy/pull/15689#ref-commit-e1599c4
https://github.com/AlexWaygood
stubtest: Fixhttps://github.com/AlexWaygood/mypy/commit/e1599c4fecc8355d7753614da24612142ff239d1
__mypy-replacehttps://github.com/AlexWaygood/mypy/commit/e1599c4fecc8355d7753614da24612142ff239d1
false positives (https://github.com/AlexWaygood/mypy/commit/e1599c4fecc8355d7753614da24612142ff239d1
python#15689https://github.com/python/mypy/pull/15689
)https://github.com/AlexWaygood/mypy/commit/e1599c4fecc8355d7753614da24612142ff239d1
e1599c4https://github.com/AlexWaygood/mypy/commit/e1599c4fecc8355d7753614da24612142ff239d1
hauntsaninjahttps://github.com/hauntsaninja
Jul 22, 2023 https://github.com/python/mypy/pull/15689#ref-commit-2ff7c0d
https://github.com/AlexWaygood
[release 1.5] stubtest: Fixhttps://github.com/python/mypy/commit/2ff7c0de571d434a9a1f82fa183d32fa32999b40
__mypy-replacehttps://github.com/python/mypy/commit/2ff7c0de571d434a9a1f82fa183d32fa32999b40
false positives (https://github.com/python/mypy/commit/2ff7c0de571d434a9a1f82fa183d32fa32999b40
#15689https://github.com/python/mypy/pull/15689
) (https://github.com/python/mypy/commit/2ff7c0de571d434a9a1f82fa183d32fa32999b40
…https://github.com/python/mypy/pull/15751
2ff7c0dhttps://github.com/python/mypy/commit/2ff7c0de571d434a9a1f82fa183d32fa32999b40
…#15751https://github.com/python/mypy/pull/15751
https://github.com/wenkokke
wenkokkehttps://github.com/wenkokke
Aug 21, 2023 https://github.com/python/mypy/pull/15689#ref-pullrequest-1848350812
Fix for missing stub files Issue #120 wenkokke/py-tree-sitter-talon#121 https://github.com/wenkokke/py-tree-sitter-talon/pull/121
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Aug 26, 2023 https://github.com/python/mypy/pull/15689#ref-issue-1867992900
Syntax error in generated stub when using dataclass #15966 https://github.com/python/mypy/issues/15966
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fpython%2Fmypy%2Fpull%2F15689
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/15689/files/d9ca3325f1aa492dbf500e392e760cf48829b55c
Please reload this pagehttps://github.com/python/mypy/pull/15689
Please reload this pagehttps://github.com/python/mypy/pull/15689
https://github.com/AlexWaygood
https://github.com/ikonst
https://github.com/hauntsaninja
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.