René's URL Explorer Experiment


Title: Adds `TypeGuard` to `filter` by sobolevn · Pull Request #6140 · python/typeshed · GitHub

Open Graph Title: Adds `TypeGuard` to `filter` by sobolevn · Pull Request #6140 · python/typeshed

X Title: Adds `TypeGuard` to `filter` by sobolevn · Pull Request #6140 · python/typeshed

Description: Couple of questsions: How can I test that it works? I was testing it with local code: from typing import Iterator, Iterable, Callable, TypeVar, Generic, TypeGuard, Any, List, Optional, overload ...

Open Graph Description: Couple of questsions: How can I test that it works? I was testing it with local code: from typing import Iterator, Iterable, Callable, TypeVar, Generic, TypeGuard, Any, List, Optional, overload ...

X Description: Couple of questsions: How can I test that it works? I was testing it with local code: from typing import Iterator, Iterable, Callable, TypeVar, Generic, TypeGuard, Any, List, Optional, overload ...

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

X: @github

direct link

Domain: github.com

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:2069d316-905d-599b-2e30-1cb087287d83
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD846:2D0964:C348DD:10D963C:6969F3EE
html-safe-nonce7186dc519c8c3bbf9841c308e9c489ee6cd4ef6741f89a4dc512eb255dbb0b5e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODQ2OjJEMDk2NDpDMzQ4REQ6MTBEOTYzQzo2OTY5RjNFRSIsInZpc2l0b3JfaWQiOiI3MTQwNTg2MjA2MDEyMjQwODc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8e7d3d76b2181178a43f49fda10e22e6bf1b8f6e40e545511ab4493ac04c7b89
hovercard-subject-tagpull_request:754592220
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/6140/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ab69e64c743bc574ff984311008e4665baa0438900906f7163cc724d04525184/python/typeshed/pull/6140
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ab69e64c743bc574ff984311008e4665baa0438900906f7163cc724d04525184/python/typeshed/pull/6140
og:image:altCouple of questsions: How can I test that it works? I was testing it with local code: from typing import Iterator, Iterable, Callable, TypeVar, Generic, TypeGuard, Any, List, Optional, overload ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/6140#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6140
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6140
Sign up https://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/6140
Reloadhttps://github.com/python/typeshed/pull/6140
Reloadhttps://github.com/python/typeshed/pull/6140
python https://github.com/python
typeshedhttps://github.com/python/typeshed
Please reload this pagehttps://github.com/python/typeshed/pull/6140
Notifications https://github.com/login?return_to=%2Fpython%2Ftypeshed
Fork 2k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Star 5k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Code https://github.com/python/typeshed
Issues 218 https://github.com/python/typeshed/issues
Pull requests 127 https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Projects 0 https://github.com/python/typeshed/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/typeshed/security
Please reload this pagehttps://github.com/python/typeshed/pull/6140
Insights https://github.com/python/typeshed/pulse
Code https://github.com/python/typeshed
Issues https://github.com/python/typeshed/issues
Pull requests https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Projects https://github.com/python/typeshed/projects
Security https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/typeshed/pull/6140#issue-comment-box
sobolevnhttps://github.com/sobolevn
python:masterhttps://github.com/python/typeshed/tree/master
Adds TypeGuard to filter https://github.com/python/typeshed/pull/6140#top
sobolevnhttps://github.com/sobolevn
python:masterhttps://github.com/python/typeshed/tree/master
Conversation 15 https://github.com/python/typeshed/pull/6140
Commits 3 https://github.com/python/typeshed/pull/6140/commits
Checks 0 https://github.com/python/typeshed/pull/6140/checks
Files changed https://github.com/python/typeshed/pull/6140/files
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/{{ revealButtonHref }}
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 9, 2021https://github.com/python/typeshed/pull/6140#issue-1021819023
#5661https://github.com/python/typeshed/issues/5661
Please reload this pagehttps://github.com/python/typeshed/pull/6140
sobolevnhttps://github.com/sobolevn
October 10, 2021 01:08https://github.com/python/typeshed/pull/6140#commits-pushed-86fc066
https://github.com/sobolevn
Adds TypeGuard to filterhttps://github.com/python/typeshed/pull/6140/commits/86fc066a696e0f773903a3c203b09e39372dece3
86fc066https://github.com/python/typeshed/pull/6140/commits/86fc066a696e0f773903a3c203b09e39372dece3
#5661https://github.com/python/typeshed/issues/5661
https://github.com/sobolevn
Update builtins.pyihttps://github.com/python/typeshed/pull/6140/commits/90be62211c59d7c1bb61ae15e8bf8f65775cd9e6
90be622https://github.com/python/typeshed/pull/6140/commits/90be62211c59d7c1bb61ae15e8bf8f65775cd9e6
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6140
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 10, 2021https://github.com/python/typeshed/pull/6140#issuecomment-939399695
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 10, 2021https://github.com/python/typeshed/pull/6140#issuecomment-939423987
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Oct 10, 2021https://github.com/python/typeshed/pull/6140#issuecomment-939428785
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 10, 2021https://github.com/python/typeshed/pull/6140#issuecomment-939431382
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 10, 2021 https://github.com/python/typeshed/pull/6140#ref-issue-1021926119
bool and TypeGuard incorrect match in @overload method python/mypy#11307 https://github.com/python/mypy/issues/11307
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 10, 2021https://github.com/python/typeshed/pull/6140#issuecomment-939436726
python/mypy#11307https://github.com/python/mypy/issues/11307
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 11, 2021 https://github.com/python/typeshed/pull/6140#ref-issue-1021823746
How to disable all pylance rules? microsoft/pylance-release#1925 https://github.com/microsoft/pylance-release/issues/1925
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Oct 30, 2021https://github.com/python/typeshed/pull/6140#issuecomment-955215764
@hauntsaninjahttps://github.com/hauntsaninja
@JelleZijlstrahttps://github.com/JelleZijlstra
python/mypy#11314https://github.com/python/mypy/pull/11314
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 7, 2021 https://github.com/python/typeshed/pull/6140#pullrequestreview-799598694
View reviewed changes https://github.com/python/typeshed/pull/6140/files/90be62211c59d7c1bb61ae15e8bf8f65775cd9e6
JelleZijlstrahttps://github.com/JelleZijlstra
https://github.com/python/typeshed/pull/6140#pullrequestreview-799598694
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 7, 2021https://github.com/python/typeshed/pull/6140#event-5579660578
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 7, 2021https://github.com/python/typeshed/pull/6140#event-5579660626
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6140
https://github.com/JelleZijlstra
Merge branch 'master' into patch-20https://github.com/python/typeshed/pull/6140/commits/7a5c9f1b5634e0d0e616392fa802e45a48bbf17c
7a5c9f1https://github.com/python/typeshed/pull/6140/commits/7a5c9f1b5634e0d0e616392fa802e45a48bbf17c
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 14, 2021https://github.com/python/typeshed/pull/6140#issuecomment-968191440
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6140
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 14, 2021https://github.com/python/typeshed/pull/6140#issuecomment-968195163
Please reload this pagehttps://github.com/python/typeshed/pull/6140
Issue 1114 dry-python/returns#1131 https://github.com/dry-python/returns/pull/1131
Please consider making typing filter as good as comprehensions python/mypy#11591 https://github.com/python/mypy/issues/11591
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Dec 21, 2021https://github.com/python/typeshed/pull/6140#issuecomment-998425526
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Dec 21, 2021https://github.com/python/typeshed/pull/6140#event-5796287162
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Dec 21, 2021https://github.com/python/typeshed/pull/6140#event-5796287264
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 21, 2021https://github.com/python/typeshed/pull/6140#issuecomment-998432231
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Dec 21, 2021https://github.com/python/typeshed/pull/6140#issuecomment-998434699
python/mypy#11428https://github.com/python/mypy/issues/11428
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Dec 21, 2021https://github.com/python/typeshed/pull/6140#event-5796349985
https://github.com/layday
laydayhttps://github.com/layday
Dec 28, 2021 https://github.com/python/typeshed/pull/6140#ref-issue-1090129536
builtins.filter support for PEP 647 TypeGuard microsoft/pyright#2768 https://github.com/microsoft/pyright/issues/2768
https://github.com/Jasha10
Jasha10https://github.com/Jasha10
Dec 29, 2021 https://github.com/python/typeshed/pull/6140#ref-pullrequest-1090136589
builtins.filter compat with typing.TypeGuard #6726 https://github.com/python/typeshed/pull/6726
GRBursthttps://github.com/GRBurst
Jul 17, 2023 https://github.com/python/typeshed/pull/6140#ref-commit-1d9ca12
https://github.com/GRBurst
chore: rewrite filter to list comprehension to satisfy mypyhttps://github.com/GRBurst/slack-logger-python/commit/1d9ca12e462566165905ddf5cab99d59277baf1f
1d9ca12https://github.com/GRBurst/slack-logger-python/commit/1d9ca12e462566165905ddf5cab99d59277baf1f
python/typeshed#6140https://github.com/python/typeshed/pull/6140
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%2F6140
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/typeshed/pull/6140/files/90be62211c59d7c1bb61ae15e8bf8f65775cd9e6
Make filter() use TypeGuard https://github.com/python/typeshed/issues/5661
Please reload this pagehttps://github.com/python/typeshed/pull/6140
https://github.com/sobolevn
https://github.com/JelleZijlstra
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.