René's URL Explorer Experiment


Title: Add signature for dataclasses.replace by ikonst · Pull Request #14849 · python/mypy · GitHub

Open Graph Title: Add signature for dataclasses.replace by ikonst · Pull Request #14849 · python/mypy

X Title: Add signature for dataclasses.replace by ikonst · Pull Request #14849 · python/mypy

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

Open Graph Description: Validate dataclassses.replace actual arguments to match the fields: Unlike __init__, the arguments are always named. All arguments are optional except for InitVars without a default value. The tr...

X Description: Validate dataclassses.replace actual arguments to match the fields: Unlike __init__, the arguments are always named. All arguments are optional except for InitVars without a default value. The tr...

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

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:9f68ebbb-8465-be11-b35e-be6712bec9ff
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCC64:2463C6:370C0E:4A1A31:6B00291A
html-safe-nonce00b5e0bee0a926c1b1501d07c42622a8f994539d82837afe5e47c47d99109755
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzY0OjI0NjNDNjozNzBDMEU6NEExQTMxOjZCMDAyOTFBIiwidmlzaXRvcl9pZCI6IjkxMzIxMzI5NTMxNjQzNTk5NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf32f824d564654c8ee40009bcfb748520b035597a91a253758d31893880f0c48
hovercard-subject-tagpull_request:1265626259
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/14849/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f7f67d5a89ca27d03694d8e7507f23f24b57d3222b17af98b04bd425b5117eb3/python/mypy/pull/14849
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f7f67d5a89ca27d03694d8e7507f23f24b57d3222b17af98b04bd425b5117eb3/python/mypy/pull/14849
og:image:altValidate dataclassses.replace actual arguments to match the fields: Unlike __init__, the arguments are always named. All arguments are optional except for InitVars without a default value. The tr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameikonst
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/14849#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14849
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%2F14849
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/14849
Reloadhttps://github.com/python/mypy/pull/14849
Reloadhttps://github.com/python/mypy/pull/14849
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
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ikonst:2023-03-06-dataclasses-replacehttps://github.com/ikonst/mypy/tree/2023-03-06-dataclasses-replace
Conversationhttps://github.com/python/mypy/pull/14849
Commits49 (49)https://github.com/python/mypy/pull/14849/commits
Checkshttps://github.com/python/mypy/pull/14849/checks
Files changedhttps://github.com/python/mypy/pull/14849/files
Add signature for dataclasses.replacehttps://github.com/python/mypy/pull/14849#top
ilevkivskyihttps://github.com/ilevkivskyi
python:masterhttps://github.com/python/mypy/tree/master
ikonst:2023-03-06-dataclasses-replacehttps://github.com/ikonst/mypy/tree/2023-03-06-dataclasses-replace
https://github.com/ikonst
ikonsthttps://github.com/ikonst
Mar 7, 2023https://github.com/python/mypy/pull/14849#issue-1612718441
Please reload this pagehttps://github.com/python/mypy/pull/14849
Adjusting the signature of a function on the basis of caller types in plugin #10216https://github.com/python/mypy/issues/10216
Let function signature hook have context of caller #14845https://github.com/python/mypy/issues/14845
#14526https://github.com/python/mypy/pull/14526
#5152https://github.com/python/mypy/issues/5152
Please reload this pagehttps://github.com/python/mypy/pull/14849
ikonsthttps://github.com/ikonst
March 6, 2023 23:47https://github.com/python/mypy/pull/14849#commits-pushed-6dbaf9c
https://github.com/ikonst
Add signature for dataclasses.replacehttps://github.com/python/mypy/pull/14849/commits/6dbaf9c847f8b07390e45725338676843554f63d
6dbaf9chttps://github.com/python/mypy/pull/14849/commits/6dbaf9c847f8b07390e45725338676843554f63d
https://github.com/ikonst
add ClassVarhttps://github.com/python/mypy/pull/14849/commits/4dcbe441706c44a47e46208c5014232ba0da0f1c
4dcbe44https://github.com/python/mypy/pull/14849/commits/4dcbe441706c44a47e46208c5014232ba0da0f1c
https://github.com/ikonst
prevent misleading notehttps://github.com/python/mypy/pull/14849/commits/7ed374177d59ffb3c4d4d42198ac01a521900103
7ed3741https://github.com/python/mypy/pull/14849/commits/7ed374177d59ffb3c4d4d42198ac01a521900103
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14849
https://github.com/ikonst
ikonsthttps://github.com/ikonst
Mar 7, 2023 https://github.com/python/mypy/pull/14849#pullrequestreview-1327652747
View reviewed changes https://github.com/python/mypy/pull/14849/files/7ed374177d59ffb3c4d4d42198ac01a521900103
mypy/plugins/dataclasses.pyhttps://github.com/python/mypy/pull/14849/files/7ed374177d59ffb3c4d4d42198ac01a521900103#diff-1fdad80f805993800524fbb9b684cc3d09879f54a0e51c71f2a447c7d46c1eb4
ikonsthttps://github.com/ikonst
Mar 7, 2023https://github.com/python/mypy/pull/14849#discussion_r1127354812
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/14849
ikonsthttps://github.com/ikonst
Mar 8, 2023https://github.com/python/mypy/pull/14849#discussion_r1128948359
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/14849
ikonsthttps://github.com/ikonst
Mar 8, 2023https://github.com/python/mypy/pull/14849#discussion_r1128967701
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/14849
ikonsthttps://github.com/ikonst
March 7, 2023 23:40https://github.com/python/mypy/pull/14849#commits-pushed-89257b5
https://github.com/ikonst
stash in a secret class-privatehttps://github.com/python/mypy/pull/14849/commits/89257b5d333d58668365a81d9db1bb9a8c6a3133
89257b5https://github.com/python/mypy/pull/14849/commits/89257b5d333d58668365a81d9db1bb9a8c6a3133
https://github.com/ikonst
fix typinghttps://github.com/python/mypy/pull/14849/commits/32b1d4709a8fba1e16651eefad4c0a5c674202e6
32b1d47https://github.com/python/mypy/pull/14849/commits/32b1d4709a8fba1e16651eefad4c0a5c674202e6
https://github.com/ikonst
docs and naminghttps://github.com/python/mypy/pull/14849/commits/1f08816e63d52072be228688016c21299734c052
1f08816https://github.com/python/mypy/pull/14849/commits/1f08816e63d52072be228688016c21299734c052
https://github.com/ikonst
ikonsthttps://github.com/ikonst
force-pushedhttps://github.com/python/mypy/compare/f6c3a8fa73d81a4e3f8e9b3c514497b7fedd848f..1f08816e63d52072be228688016c21299734c052
f6c3a8fhttps://github.com/python/mypy/commit/f6c3a8fa73d81a4e3f8e9b3c514497b7fedd848f
1f08816https://github.com/python/mypy/commit/1f08816e63d52072be228688016c21299734c052
Compare https://github.com/python/mypy/compare/f6c3a8fa73d81a4e3f8e9b3c514497b7fedd848f..1f08816e63d52072be228688016c21299734c052
March 8, 2023 05:09https://github.com/python/mypy/pull/14849#event-8693055435
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14849
ikonsthttps://github.com/ikonst
March 8, 2023 11:00https://github.com/python/mypy/pull/14849#commits-pushed-c456a5f
https://github.com/ikonst
inst -> objhttps://github.com/python/mypy/pull/14849/commits/c456a5f80f14be924cdc2f953e6ab796767f0901
c456a5fhttps://github.com/python/mypy/pull/14849/commits/c456a5f80f14be924cdc2f953e6ab796767f0901
https://github.com/ikonst
add the secret symbol to deps.testhttps://github.com/python/mypy/pull/14849/commits/8118d29c3b2807c81b5e1db8ac5b4b207a3c7349
8118d29https://github.com/python/mypy/pull/14849/commits/8118d29c3b2807c81b5e1db8ac5b4b207a3c7349
https://github.com/ikonst
ikonsthttps://github.com/ikonst
Mar 8, 2023https://github.com/python/mypy/pull/14849#issuecomment-1460472015
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/mypy/pull/14849
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14849
ikonsthttps://github.com/ikonst
March 8, 2023 13:34https://github.com/python/mypy/pull/14849#commits-pushed-789cb2b
https://github.com/ikonst
languagehttps://github.com/python/mypy/pull/14849/commits/789cb2ba7f90901acd319478ec7927a051279770
789cb2bhttps://github.com/python/mypy/pull/14849/commits/789cb2ba7f90901acd319478ec7927a051279770
https://github.com/ikonst
nithttps://github.com/python/mypy/pull/14849/commits/9f0974cce4c964f922e6b73a3c794ee0f5608810
9f0974chttps://github.com/python/mypy/pull/14849/commits/9f0974cce4c964f922e6b73a3c794ee0f5608810
https://github.com/ikonst
nithttps://github.com/python/mypy/pull/14849/commits/a37e4063d77af7af77cad39b2ce05aadbecd2dc9
a37e406https://github.com/python/mypy/pull/14849/commits/a37e4063d77af7af77cad39b2ce05aadbecd2dc9
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14849
https://github.com/ikonst
Merge branch 'master' into 2023-03-06-dataclasses-replacehttps://github.com/python/mypy/pull/14849/commits/367c0e99f1abcee33758e0adc817f684d4bc0495
367c0e9https://github.com/python/mypy/pull/14849/commits/367c0e99f1abcee33758e0adc817f684d4bc0495
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14849
https://github.com/ikonst
ikonsthttps://github.com/ikonst
Mar 14, 2023https://github.com/python/mypy/pull/14849#issuecomment-1468054172
@AlexWaygoodhttps://github.com/AlexWaygood
Please reload this pagehttps://github.com/python/mypy/pull/14849
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 14, 2023 https://github.com/python/mypy/pull/14849#pullrequestreview-1339243320
View reviewed changes https://github.com/python/mypy/pull/14849/files/367c0e99f1abcee33758e0adc817f684d4bc0495
AlexWaygoodhttps://github.com/AlexWaygood
https://github.com/python/mypy/pull/14849#pullrequestreview-1339243320
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/14849
test-data/unit/lib-stub/dataclasses.pyihttps://github.com/python/mypy/pull/14849/files/367c0e99f1abcee33758e0adc817f684d4bc0495#diff-641a26119528b582ffba96b83b1c6ce2f96e44b568c4be52ca9a8d3cacfcd513
AlexWaygoodhttps://github.com/AlexWaygood
Mar 14, 2023https://github.com/python/mypy/pull/14849#discussion_r1135519393
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/14849
ikonsthttps://github.com/ikonst
Mar 14, 2023https://github.com/python/mypy/pull/14849#discussion_r1135564249
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
realityhttps://github.com/python/cpython/issues/81344
Please reload this pagehttps://github.com/python/mypy/pull/14849
AlexWaygoodhttps://github.com/AlexWaygood
Mar 14, 2023https://github.com/python/mypy/pull/14849#discussion_r1135572207
Please reload this pagehttps://github.com/python/mypy/pull/14849
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
realityhttps://github.com/python/cpython/issues/81344
https://peps.python.org/pep-0484/#positional-only-argumentshttps://peps.python.org/pep-0484/#positional-only-arguments
Please reload this pagehttps://github.com/python/mypy/pull/14849
ikonsthttps://github.com/ikonst
Mar 14, 2023https://github.com/python/mypy/pull/14849#discussion_r1135662878
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
7b907cfhttps://github.com/python/mypy/commit/7b907cf50fbadf873007d455d9fd301119a09872
Please reload this pagehttps://github.com/python/mypy/pull/14849
ikonsthttps://github.com/ikonst
March 14, 2023 10:29https://github.com/python/mypy/pull/14849#commits-pushed-0e84c4f
https://github.com/ikonst
make obj positional-onlyhttps://github.com/python/mypy/pull/14849/commits/0e84c4f79810dc272553b1727e04a02542eeff69
0e84c4fhttps://github.com/python/mypy/pull/14849/commits/0e84c4f79810dc272553b1727e04a02542eeff69
https://github.com/ikonst
Merge branch '2023-03-06-dataclasses-replace' ofhttps://github.com/python/mypy/pull/14849/commits/9cfc081b4936c3dc09089e6856739e13e84ba91a
https://github.com/i…https://github.com/ikonst/mypy
9cfc081https://github.com/python/mypy/pull/14849/commits/9cfc081b4936c3dc09089e6856739e13e84ba91a
…konst/mypyhttps://github.com/ikonst/mypy
https://github.com/ikonst
add pythoneval testhttps://github.com/python/mypy/pull/14849/commits/7b907cf50fbadf873007d455d9fd301119a09872
7b907cfhttps://github.com/python/mypy/pull/14849/commits/7b907cf50fbadf873007d455d9fd301119a09872
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 14, 2023 https://github.com/python/mypy/pull/14849#pullrequestreview-1339466632
View reviewed changes https://github.com/python/mypy/pull/14849/files/7b907cf50fbadf873007d455d9fd301119a09872
test-data/unit/lib-stub/dataclasses.pyihttps://github.com/python/mypy/pull/14849/files/367c0e99f1abcee33758e0adc817f684d4bc0495..7b907cf50fbadf873007d455d9fd301119a09872#diff-641a26119528b582ffba96b83b1c6ce2f96e44b568c4be52ca9a8d3cacfcd513
Please reload this pagehttps://github.com/python/mypy/pull/14849
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14849
https://github.com/ikonst
https://github.com/AlexWaygood
use py3.7 syntaxhttps://github.com/python/mypy/pull/14849/commits/985db60989eb6a36e2cc518841b21e3c1838d82e
985db60https://github.com/python/mypy/pull/14849/commits/985db60989eb6a36e2cc518841b21e3c1838d82e
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F14849
https://github.com/ikonst
Merge branch 'master' into 2023-03-06-dataclasses-replacehttps://github.com/python/mypy/pull/14849/commits/15dbb7b908719108381aeb09788f394953fb9930
15dbb7bhttps://github.com/python/mypy/pull/14849/commits/15dbb7b908719108381aeb09788f394953fb9930
ikonsthttps://github.com/ikonst
June 12, 2023 08:22https://github.com/python/mypy/pull/14849#commits-pushed-6abf6ff
https://github.com/ikonst
Merge remote-tracking branch 'origin/master' into pr/ikonst/14849https://github.com/python/mypy/pull/14849/commits/6abf6ffb669bbab96875066f1e35460ab5380307
6abf6ffhttps://github.com/python/mypy/pull/14849/commits/6abf6ffb669bbab96875066f1e35460ab5380307
https://github.com/ikonst
remove get_expression_type hackhttps://github.com/python/mypy/pull/14849/commits/4c4fc944492dbc9672a11f2a9fdd4b35c3ccc992
4c4fc94https://github.com/python/mypy/pull/14849/commits/4c4fc944492dbc9672a11f2a9fdd4b35c3ccc992
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 12, 2023https://github.com/python/mypy/pull/14849#issuecomment-1587273246
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/14849
https://github.com/ikonst
ikonsthttps://github.com/ikonst
Jun 13, 2023https://github.com/python/mypy/pull/14849#issuecomment-1588271084
@ilevkivskyihttps://github.com/ilevkivskyi
Please reload this pagehttps://github.com/python/mypy/pull/14849
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Jun 16, 2023https://github.com/python/mypy/pull/14849#issuecomment-1595418456
@ikonsthttps://github.com/ikonst
Please reload this pagehttps://github.com/python/mypy/pull/14849
https://github.com/ikonst
ikonsthttps://github.com/ikonst
Jun 17, 2023 https://github.com/python/mypy/pull/14849#ref-issue-1761612214
Function signature hook returning a union #15457 https://github.com/python/mypy/issues/15457
ikonsthttps://github.com/ikonst
June 16, 2023 23:32https://github.com/python/mypy/pull/14849#commits-pushed-be4a290
https://github.com/ikonst
assert isinstance(replace_sig, ProperType)https://github.com/python/mypy/pull/14849/commits/be4a29044d0bd0f74377aba2fc84ea76c4e14f82
be4a290https://github.com/python/mypy/pull/14849/commits/be4a29044d0bd0f74377aba2fc84ea76c4e14f82
https://github.com/ikonst
add a TODO for _meet_replace_sigshttps://github.com/python/mypy/pull/14849/commits/ee0ae21c072bdf0da7f6025ba7da178511144a59
ee0ae21https://github.com/python/mypy/pull/14849/commits/ee0ae21c072bdf0da7f6025ba7da178511144a59
https://github.com/ikonst
Merge remote-tracking branch 'origin/master' into 2023-03-06-dataclas…https://github.com/python/mypy/pull/14849/commits/3f656f8d6b4672289d9b1f7068ab16e19d0495d1
3f656f8https://github.com/python/mypy/pull/14849/commits/3f656f8d6b4672289d9b1f7068ab16e19d0495d1
https://github.com/ikonst
Merge remote-tracking branch 'origin/master' into 2023-03-06-dataclas…https://github.com/python/mypy/pull/14849/commits/65d6e891b43e085bfaff0ed3ee8772710487073e
65d6e89https://github.com/python/mypy/pull/14849/commits/65d6e891b43e085bfaff0ed3ee8772710487073e
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 17, 2023https://github.com/python/mypy/pull/14849#issuecomment-1595608716
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/mypy/pull/14849
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
6f2bfffhttps://github.com/python/mypy/commit/6f2bfff521e708f015af1eec5118db4600b829be
Jun 17, 2023https://github.com/python/mypy/pull/14849#event-9558720677
https://github.com/ikonst
ikonsthttps://github.com/ikonst
June 17, 2023 13:16https://github.com/python/mypy/pull/14849#event-9558781059
https://github.com/jakkdl
jakkdlhttps://github.com/jakkdl
Jun 21, 2023 https://github.com/python/mypy/pull/14849#ref-issue-705124399
dataclasses.replace does not type correctly microsoft/pyright#1047 https://github.com/microsoft/pyright/issues/1047
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Jun 23, 2023 https://github.com/python/mypy/pull/14849#ref-pullrequest-1771203874
Support better __post_init__ method signature for dataclasses #15503 https://github.com/python/mypy/pull/15503
sobolevnhttps://github.com/sobolevn
Jun 26, 2023 https://github.com/python/mypy/pull/14849#ref-commit-9511daa
https://github.com/sobolevn
https://github.com/marketplace/pre-commit-ci
https://github.com/ilevkivskyi
Support betterhttps://github.com/python/mypy/commit/9511daa60f53be95bf3b7b67382a4d9862c73b46
__post_init__https://github.com/python/mypy/commit/9511daa60f53be95bf3b7b67382a4d9862c73b46
method signature forhttps://github.com/python/mypy/commit/9511daa60f53be95bf3b7b67382a4d9862c73b46
dataclasseshttps://github.com/python/mypy/commit/9511daa60f53be95bf3b7b67382a4d9862c73b46
(https://github.com/python/mypy/commit/9511daa60f53be95bf3b7b67382a4d9862c73b46
#1…https://github.com/python/mypy/pull/15503
9511daahttps://github.com/python/mypy/commit/9511daa60f53be95bf3b7b67382a4d9862c73b46
…5503https://github.com/python/mypy/pull/15503
#14849https://github.com/python/mypy/pull/14849
#15498https://github.com/python/mypy/issues/15498
#9254https://github.com/python/mypy/issues/9254
https://github.com/tmke8
tmke8https://github.com/tmke8
Jun 28, 2023 https://github.com/python/mypy/pull/14849#ref-issue-1778059301
Typecheck dataclasses.replace semantically microsoft/pyright#5397 https://github.com/microsoft/pyright/issues/5397
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 7, 2023 https://github.com/python/mypy/pull/14849#ref-issue-1793065458
Crash when iterating a Tuple list of @dataclass Protocol #15618 https://github.com/python/mypy/issues/15618
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Aug 11, 2023 https://github.com/python/mypy/pull/14849#ref-issue-1845741935
Custom dataclasses are not recognized as dataclasses #15843 https://github.com/python/mypy/issues/15843
https://github.com/glatterf42
glatterf42https://github.com/glatterf42
Aug 29, 2023 https://github.com/python/mypy/pull/14849#ref-pullrequest-1864976469
Updates to the water module, water avaialbility and country sub-annual features iiasa/message-ix-models#115 https://github.com/iiasa/message-ix-models/pull/115
https://github.com/mcwitt
mcwitthttps://github.com/mcwitt
Sep 25, 2023 https://github.com/python/mypy/pull/14849#ref-pullrequest-1905807758
Avoid unnecessary context creation in HREX, using BoundPotential::set_params proteneer/timemachine#1151 https://github.com/proteneer/timemachine/pull/1151
https://github.com/chazmo03
chazmo03https://github.com/chazmo03
May 9, 2025 https://github.com/python/mypy/pull/14849#ref-issue-3006896103
Support for static hints on std replace() functions microsoft/pyright#10354 https://github.com/microsoft/pyright/issues/10354
https://github.com/yangdanny97
yangdanny97https://github.com/yangdanny97
Dec 8, 2025 https://github.com/python/mypy/pull/14849#ref-issue-3704060619
Support checking dataclasses.replace pyrefly-org/pyrefly#1789 https://github.com/pyrefly-org/pyrefly/issues/1789
Research: statically typed replace() — field-checked keyword arguments or a TypedDict JPHutchins/salix#354 https://github.com/JPHutchins/salix/issues/354
Synthesized __replace__ makes an InitVar without a default optional, but the runtime requires it astral-sh/ty#4775 https://github.com/astral-sh/ty/issues/4775
types: salix.replace checks each change against the struct's fields (#354) JPHutchins/salix#355 https://github.com/JPHutchins/salix/pull/355
replace: a union or union-bound TypeVar comes back as Struct (mypy), and a union whose members each have their own field is rejected (pyright, ty) JPHutchins/salix#359 https://github.com/JPHutchins/salix/issues/359
JPHutchinshttps://github.com/JPHutchins
Nov 7, 2026 https://github.com/python/mypy/pull/14849#ref-commit-a2ccfe2
https://github.com/JPHutchins
https://github.com/claude
Bind self to a type variable only for lower boundshttps://github.com/JPHutchins/mypy/commit/a2ccfe2736e2120f6db6eefd5feb8214a8b7eac8
a2ccfe2https://github.com/JPHutchins/mypy/commit/a2ccfe2736e2120f6db6eefd5feb8214a8b7eac8
python#14849https://github.com/python/mypy/pull/14849
https://claude.ai/code/session_01Mdn8NkvmAM1PfoEsARpBk6https://claude.ai/code/session_01Mdn8NkvmAM1PfoEsARpBk6
Keep a bound type variable or Self through __replace__ protocols JPHutchins/mypy#2 https://github.com/JPHutchins/mypy/pull/2
Return the self type from the synthesized dataclass __replace__ JPHutchins/mypy#11 https://github.com/JPHutchins/mypy/pull/11
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%2F14849
https://github.com/sobolevn
sobolevn https://github.com/sobolevn
https://github.com/python/mypy/pull/14849/files/3227fdeb6f040c27438588a6b1bb93bdbe535bcd
https://github.com/ilevkivskyi
ilevkivskyi https://github.com/ilevkivskyi
https://github.com/python/mypy/pull/14849/files/4c4fc944492dbc9672a11f2a9fdd4b35c3ccc992
https://github.com/AlexWaygood
AlexWaygood https://github.com/AlexWaygood
https://github.com/python/mypy/pull/14849/files/7b907cf50fbadf873007d455d9fd301119a09872
Please reload this pagehttps://github.com/python/mypy/pull/14849
Please reload this pagehttps://github.com/python/mypy/pull/14849
https://github.com/ikonst
https://github.com/ilevkivskyi
https://github.com/sobolevn
https://github.com/AlexWaygood
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.