René's URL Explorer Experiment


Title: Use a `TypeGuard` for `dataclasses.is_dataclass()`; refine `asdict()`, `astuple()`, `fields()`, `replace()` by AlexWaygood · Pull Request #9362 · python/typeshed · GitHub

Open Graph Title: Use a `TypeGuard` for `dataclasses.is_dataclass()`; refine `asdict()`, `astuple()`, `fields()`, `replace()` by AlexWaygood · Pull Request #9362 · python/typeshed

X Title: Use a `TypeGuard` for `dataclasses.is_dataclass()`; refine `asdict()`, `astuple()`, `fields()`, `replace()` by AlexWaygood · Pull Request #9362 · python/typeshed

Description: Collection of library stubs for Python, with static types - Use a `TypeGuard` for `dataclasses.is_dataclass()`; refine `asdict()`, `astuple()`, `fields()`, `replace()` by AlexWaygood · Pull Request #9362 · python/typeshed

Open Graph Description: Fixes #9345. Refs python/mypy#14215

X Description: Fixes #9345. Refs python/mypy#14215

Opengraph URL: https://github.com/python/typeshed/pull/9362

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:adf5b5c7-2591-a0fe-ac3c-5b3c44b6918d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD8F6:1D865F:404905:57E71F:6B006E92
html-safe-nonce531a9b0a235c1d36981acdd8baf4204538c1678f3252d02508ed6570849abc65
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEY2OjFEODY1Rjo0MDQ5MDU6NTdFNzFGOjZCMDA2RTkyIiwidmlzaXRvcl9pZCI6Ijc3NjI0MjkxMjQ2ODUwOTg2NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb60551517a674684ccf010f9e8b82e037727ddc2437c2442ce224be72699187e
hovercard-subject-tagpull_request:1165696619
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/typeshed/9362/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cabc5ef31226b4a4fa39aaa7940466cabcf37ccb23d0fefdf13001d03fecdbc0/python/typeshed/pull/9362
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cabc5ef31226b4a4fa39aaa7940466cabcf37ccb23d0fefdf13001d03fecdbc0/python/typeshed/pull/9362
og:image:altFixes #9345. Refs python/mypy#14215
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexWaygood
hostnamegithub.com
expected-hostnamegithub.com
None6527e91c60c0b29d16606ff32ac5df8ecdc37a2a62205ea057a14d7762c870fa
turbo-cache-controlno-cache
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
release46f1cd2ae3cd8ae1a81019b5d619742e76f13bbd
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typeshed/pull/9362#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9362
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%2Ftypeshed%2Fpull%2F9362
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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/9362
Reloadhttps://github.com/python/typeshed/pull/9362
Reloadhttps://github.com/python/typeshed/pull/9362
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests252 (252)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
AlexWaygoodhttps://github.com/AlexWaygood
mainhttps://github.com/python/typeshed/tree/main
dataclasseshttps://github.com/python/typeshed/tree/dataclasses
Conversationhttps://github.com/python/typeshed/pull/9362
Commits15 (15)https://github.com/python/typeshed/pull/9362/commits
Checkshttps://github.com/python/typeshed/pull/9362/checks
Files changedhttps://github.com/python/typeshed/pull/9362/files
Use a TypeGuard for dataclasses.is_dataclass(); refine asdict(), astuple(), fields(), replace()https://github.com/python/typeshed/pull/9362#top
AlexWaygoodhttps://github.com/AlexWaygood
mainhttps://github.com/python/typeshed/tree/main
dataclasseshttps://github.com/python/typeshed/tree/dataclasses
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022https://github.com/python/typeshed/pull/9362#issue-1497210730
#9345https://github.com/python/typeshed/issues/9345
python/mypy#14215https://github.com/python/mypy/issues/14215
Please reload this pagehttps://github.com/python/typeshed/pull/9362
AlexWaygoodhttps://github.com/AlexWaygood
December 14, 2022 18:50https://github.com/python/typeshed/pull/9362#commits-pushed-3f00513
https://github.com/AlexWaygood
Use a TypeGuard for dataclasses.is_dataclass(); refine `as_dict()…https://github.com/python/typeshed/pull/9362/commits/3f00513b1b74fbbad78406a282ff2d2def1637d2
3f00513https://github.com/python/typeshed/pull/9362/commits/3f00513b1b74fbbad78406a282ff2d2def1637d2
https://github.com/AlexWaygood
Also do replace()https://github.com/python/typeshed/pull/9362/commits/4ec190e87ce073705bed220d70776188ab2ef317
4ec190ehttps://github.com/python/typeshed/pull/9362/commits/4ec190e87ce073705bed220d70776188ab2ef317
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022 https://github.com/python/typeshed/pull/9362#pullrequestreview-1218064021
View reviewed changes https://github.com/python/typeshed/pull/9362/files/4ec190e87ce073705bed220d70776188ab2ef317
stdlib/dataclasses.pyihttps://github.com/python/typeshed/pull/9362/files/4ec190e87ce073705bed220d70776188ab2ef317#diff-2c3b895b46ce5d87afe41ace14e35121fca8f5a6f10e72bf41e605135d8245f6
Please reload this pagehttps://github.com/python/typeshed/pull/9362
AlexWaygoodhttps://github.com/AlexWaygood
December 14, 2022 18:58https://github.com/python/typeshed/pull/9362#commits-pushed-0ae681a
https://github.com/AlexWaygood
Be more principled (let's see what primer says)https://github.com/python/typeshed/pull/9362/commits/0ae681a24f123ab7b9e581f5275a0236216dc3bb
0ae681ahttps://github.com/python/typeshed/pull/9362/commits/0ae681a24f123ab7b9e581f5275a0236216dc3bb
https://github.com/AlexWaygood
Also fields()https://github.com/python/typeshed/pull/9362/commits/d35e3a32472e103c9723708d6ff9831137f0ad9c
d35e3a3https://github.com/python/typeshed/pull/9362/commits/d35e3a32472e103c9723708d6ff9831137f0ad9c
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022https://github.com/python/typeshed/pull/9362#event-8040405849
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9362
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022 https://github.com/python/typeshed/pull/9362#pullrequestreview-1218098835
View reviewed changes https://github.com/python/typeshed/pull/9362/files/d35e3a32472e103c9723708d6ff9831137f0ad9c
stdlib/dataclasses.pyihttps://github.com/python/typeshed/pull/9362/files/d35e3a32472e103c9723708d6ff9831137f0ad9c#diff-2c3b895b46ce5d87afe41ace14e35121fca8f5a6f10e72bf41e605135d8245f6
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
Make protocol more precisehttps://github.com/python/typeshed/pull/9362/commits/cfaffb015a142d113fefab6d5c7b57c2555e8d95
cfaffb0https://github.com/python/typeshed/pull/9362/commits/cfaffb015a142d113fefab6d5c7b57c2555e8d95
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9362
AlexWaygoodhttps://github.com/AlexWaygood
December 14, 2022 19:41https://github.com/python/typeshed/pull/9362#commits-pushed-2a0b0ba
https://github.com/AlexWaygood
Add test caseshttps://github.com/python/typeshed/pull/9362/commits/2a0b0ba7ba5661be2a865198fac079ac8283d651
2a0b0bahttps://github.com/python/typeshed/pull/9362/commits/2a0b0ba7ba5661be2a865198fac079ac8283d651
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/9362/commits/110cd4eade204fe2f57a300883f67aa122eff8b7
110cd4ehttps://github.com/python/typeshed/pull/9362/commits/110cd4eade204fe2f57a300883f67aa122eff8b7
https://github.com/AlexWaygood
Improve test caseshttps://github.com/python/typeshed/pull/9362/commits/d41f9eec2e4f016f122182cf55d9de3041ea3595
d41f9eehttps://github.com/python/typeshed/pull/9362/commits/d41f9eec2e4f016f122182cf55d9de3041ea3595
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022 https://github.com/python/typeshed/pull/9362#pullrequestreview-1218128439
View reviewed changes https://github.com/python/typeshed/pull/9362/files/d41f9eec2e4f016f122182cf55d9de3041ea3595
test_cases/stdlib/check_dataclasses.pyhttps://github.com/python/typeshed/pull/9362/files/d41f9eec2e4f016f122182cf55d9de3041ea3595#diff-931103e1baf899c233b20bcd9e107014e3ed89a6cda360c6c9a59b40f27a934d
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
Update test_cases/stdlib/check_dataclasses.pyhttps://github.com/python/typeshed/pull/9362/commits/71d4d20de75eb127568f9c8f54c7d54af3fdbae7
71d4d20https://github.com/python/typeshed/pull/9362/commits/71d4d20de75eb127568f9c8f54c7d54af3fdbae7
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022 https://github.com/python/typeshed/pull/9362#pullrequestreview-1218137061
View reviewed changes https://github.com/python/typeshed/pull/9362/files/71d4d20de75eb127568f9c8f54c7d54af3fdbae7
test_cases/stdlib/check_dataclasses.pyhttps://github.com/python/typeshed/pull/9362/files/71d4d20de75eb127568f9c8f54c7d54af3fdbae7#diff-931103e1baf899c233b20bcd9e107014e3ed89a6cda360c6c9a59b40f27a934d
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
Update test_cases/stdlib/check_dataclasses.pyhttps://github.com/python/typeshed/pull/9362/commits/693dc76e281f5bc74672ca064a5dd6bec43d855d
693dc76https://github.com/python/typeshed/pull/9362/commits/693dc76e281f5bc74672ca064a5dd6bec43d855d
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022 https://github.com/python/typeshed/pull/9362#pullrequestreview-1218148458
View reviewed changes https://github.com/python/typeshed/pull/9362/files/693dc76e281f5bc74672ca064a5dd6bec43d855d
test_cases/stdlib/check_dataclasses.pyhttps://github.com/python/typeshed/pull/9362/files/693dc76e281f5bc74672ca064a5dd6bec43d855d#diff-931103e1baf899c233b20bcd9e107014e3ed89a6cda360c6c9a59b40f27a934d
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
Update test_cases/stdlib/check_dataclasses.pyhttps://github.com/python/typeshed/pull/9362/commits/cc404fb27fad5bfc23c281a88c5af61c247ad44a
cc404fbhttps://github.com/python/typeshed/pull/9362/commits/cc404fb27fad5bfc23c281a88c5af61c247ad44a
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9362
https://github.com/AlexWaygood
Merge branch 'main' into dataclasseshttps://github.com/python/typeshed/pull/9362/commits/4cbd58ce3cb621a05ec4454b5d930e3a3e168e30
4cbd58chttps://github.com/python/typeshed/pull/9362/commits/4cbd58ce3cb621a05ec4454b5d930e3a3e168e30
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9362
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022 https://github.com/python/typeshed/pull/9362#ref-issue-1497347672
False negatives on protocols with ClassVar attributes microsoft/pyright#4339 https://github.com/microsoft/pyright/issues/4339
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 14, 2022https://github.com/python/typeshed/pull/9362#issuecomment-1352153411
Please reload this pagehttps://github.com/python/typeshed/pull/9362
microsoft/pyright#4339https://github.com/microsoft/pyright/issues/4339
https://github.com/Akuli/porcupine/blob/2845a5d537d85ddd7a7b7c8cbcb3e3a4d8d924ca/porcupine/utils.py#L369-L408https://github.com/Akuli/porcupine/blob/2845a5d537d85ddd7a7b7c8cbcb3e3a4d8d924ca/porcupine/utils.py#L369-L408
https://github.com/astropenguin/xarray-dataclasses/blob/1f9816f19dd2da69b50432add4a256ac380a1134/xarray_dataclasses/v2/specs.py#L110-L119https://github.com/astropenguin/xarray-dataclasses/blob/1f9816f19dd2da69b50432add4a256ac380a1134/xarray_dataclasses/v2/specs.py#L110-L119
https://github.com/astropenguin/xarray-dataclasses/blob/1f9816f19dd2da69b50432add4a256ac380a1134/xarray_dataclasses/v2/typing.py#L49-L55https://github.com/astropenguin/xarray-dataclasses/blob/1f9816f19dd2da69b50432add4a256ac380a1134/xarray_dataclasses/v2/typing.py#L49-L55
https://github.com/home-assistant/core/blob/3d7a3afca70c0e760ffb2dbf3c72ddec24fa0c0e/homeassistant/components/p1_monitor/diagnostics.py#L45https://github.com/home-assistant/core/blob/3d7a3afca70c0e760ffb2dbf3c72ddec24fa0c0e/homeassistant/components/p1_monitor/diagnostics.py#L45
https://github.com/home-assistant/core/blob/3d7a3afca70c0e760ffb2dbf3c72ddec24fa0c0e/homeassistant/components/p1_monitor/__init__.py#L67https://github.com/home-assistant/core/blob/3d7a3afca70c0e760ffb2dbf3c72ddec24fa0c0e/homeassistant/components/p1_monitor/__init__.py#L67
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
December 14, 2022 20:50https://github.com/python/typeshed/pull/9362#event-8041439451
https://github.com/KotlinIsland
KotlinIslandhttps://github.com/KotlinIsland
Dec 15, 2022 https://github.com/python/typeshed/pull/9362#pullrequestreview-1218440681
View reviewed changes https://github.com/python/typeshed/pull/9362/files/4cbd58ce3cb621a05ec4454b5d930e3a3e168e30
stdlib/dataclasses.pyihttps://github.com/python/typeshed/pull/9362/files/4cbd58ce3cb621a05ec4454b5d930e3a3e168e30#diff-2c3b895b46ce5d87afe41ace14e35121fca8f5a6f10e72bf41e605135d8245f6
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
Update stdlib/dataclasses.pyihttps://github.com/python/typeshed/pull/9362/commits/c291f63212738af9904c9641e9a02a8c3112e722
c291f63https://github.com/python/typeshed/pull/9362/commits/c291f63212738af9904c9641e9a02a8c3112e722
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9362
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 15, 2022https://github.com/python/typeshed/pull/9362#event-8042763381
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 15, 2022 https://github.com/python/typeshed/pull/9362#ref-issue-1497597605
Intermittent stubtest failures on macOS, Python 3.11 #9364 https://github.com/python/typeshed/issues/9364
https://github.com/AlexWaygood
Improve commentshttps://github.com/python/typeshed/pull/9362/commits/888fc4b324167031db9c636ea2bb3f096f59fecc
888fc4bhttps://github.com/python/typeshed/pull/9362/commits/888fc4b324167031db9c636ea2bb3f096f59fecc
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F9362
https://github.com/AlexWaygood
Comment out tests that fail on pyrighthttps://github.com/python/typeshed/pull/9362/commits/a564082cc841e8f91a80d19a303dde2e5f055e75
a564082https://github.com/python/typeshed/pull/9362/commits/a564082cc841e8f91a80d19a303dde2e5f055e75
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 18, 2022https://github.com/python/typeshed/pull/9362#issuecomment-1356626427
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 18, 2022https://github.com/python/typeshed/pull/9362#issuecomment-1356820802
@stroxlerhttps://github.com/stroxler
@pradeep90https://github.com/pradeep90
@thomkehhttps://github.com/thomkeh
#9345https://github.com/python/typeshed/issues/9345
@rchen152https://github.com/rchen152
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/rchen152
rchen152https://github.com/rchen152
Dec 19, 2022https://github.com/python/typeshed/pull/9362#issuecomment-1358022517
https://github.com/google/pytype/blob/8d0970083128ffc7f6042b08fad076f8c2ee01a6/pytype_extensions/__init__.py#L67https://github.com/google/pytype/blob/8d0970083128ffc7f6042b08fad076f8c2ee01a6/pytype_extensions/__init__.py#L67
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/tmke8
tmke8https://github.com/tmke8
Dec 19, 2022https://github.com/python/typeshed/pull/9362#issuecomment-1358031906
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 19, 2022https://github.com/python/typeshed/pull/9362#issuecomment-1358035784
@rchen152https://github.com/rchen152
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/pradeep90
pradeep90https://github.com/pradeep90
Dec 20, 2022https://github.com/python/typeshed/pull/9362#issuecomment-1360259292
@stroxlerhttps://github.com/stroxler
@pradeep90https://github.com/pradeep90
@thomkehhttps://github.com/thomkeh
#9345https://github.com/python/typeshed/issues/9345
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/tmke8
tmke8https://github.com/tmke8
Jan 27, 2023 https://github.com/python/typeshed/pull/9362#ref-issue-1557257306
attrs plugin should support attrs.evolve python/mypy#14525 https://github.com/python/mypy/issues/14525
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
32ebe32https://github.com/python/typeshed/commit/32ebe323f5f3ac3b8dd08533d3c032f5a82f0d22
Jan 28, 2023https://github.com/python/typeshed/pull/9362#event-8379925688
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
January 28, 2023 15:14https://github.com/python/typeshed/pull/9362#event-8379925723
(🎁) Validate arguments to dataclasses utility functions replace and fields python/mypy#14215 https://github.com/python/mypy/issues/14215
Add error for asdict, astuple, fields, and replace in dataclasses - Fixes #14215 python/mypy#14263 https://github.com/python/mypy/pull/14263
Avasamhttps://github.com/Avasam
Feb 1, 2023 https://github.com/python/typeshed/pull/9362#ref-commit-1846811
https://github.com/AlexWaygood
https://github.com/Avasam
Use a TypeGuard for dataclasses.is_dataclass(); refine asdict()…https://github.com/Avasam/typeshed/commit/184681193088920779378fb6dee24033ed991897
1846811https://github.com/Avasam/typeshed/commit/184681193088920779378fb6dee24033ed991897
python#9362https://github.com/python/typeshed/pull/9362
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Feb 3, 2023 https://github.com/python/typeshed/pull/9362#ref-pullrequest-1570356118
Sync typeshed python/mypy#14598 https://github.com/python/mypy/pull/14598
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Feb 4, 2023https://github.com/python/typeshed/pull/9362#issuecomment-1416754140
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/tmke8
tmke8https://github.com/tmke8
Feb 4, 2023https://github.com/python/typeshed/pull/9362#issuecomment-1416756775
Please reload this pagehttps://github.com/python/typeshed/pull/9362
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Feb 4, 2023https://github.com/python/typeshed/pull/9362#issuecomment-1416757272
Please reload this pagehttps://github.com/python/typeshed/pull/9362
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Feb 4, 2023https://github.com/python/typeshed/pull/9362#issuecomment-1416758036
@cdce8phttps://github.com/cdce8p
microsoft/pyright#4339https://github.com/microsoft/pyright/issues/4339
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Feb 4, 2023https://github.com/python/typeshed/pull/9362#issuecomment-1416759222
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Feb 4, 2023 https://github.com/python/typeshed/pull/9362#ref-pullrequest-1570962372
Export DataclassInstance protocol from _typeshed #9676 https://github.com/python/typeshed/pull/9676
https://github.com/cdce8p
cdce8phttps://github.com/cdce8p
Feb 4, 2023https://github.com/python/typeshed/pull/9362#issuecomment-1416797469
https://docs.pydantic.dev/mypy_plugin/https://docs.pydantic.dev/mypy_plugin/
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/srittau
srittauhttps://github.com/srittau
Feb 13, 2023 https://github.com/python/typeshed/pull/9362#ref-issue-1581366468
Repair is_dataclass definition? #9723 https://github.com/python/typeshed/issues/9723
Expose DataclassInstance #9736 https://github.com/python/typeshed/issues/9736
Expose DataclassInstance python/typing_extensions#115 https://github.com/python/typing_extensions/issues/115
Release 1.1 planning python/mypy#14730 https://github.com/python/mypy/issues/14730
Add a Dataclass abstract base class for instance checking and type annotations python/cpython#102699 https://github.com/python/cpython/issues/102699
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F9362
https://github.com/KotlinIsland
KotlinIsland https://github.com/KotlinIsland
https://github.com/python/typeshed/pull/9362/files/4cbd58ce3cb621a05ec4454b5d930e3a3e168e30
Please reload this pagehttps://github.com/python/typeshed/pull/9362
is_dataclass should be a type guard and asdict should only work on objects with __dataclass_fields__ https://github.com/python/typeshed/issues/9345
Please reload this pagehttps://github.com/python/typeshed/pull/9362
https://github.com/AlexWaygood
https://github.com/rchen152
https://github.com/tmke8
https://github.com/pradeep90
https://github.com/cdce8p
https://github.com/KotlinIsland
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.