René's URL Explorer Experiment


Title: Make filters and/or-able using bitwise operators. by jsmnbom · Pull Request #411 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: Make filters and/or-able using bitwise operators. by jsmnbom · Pull Request #411 · python-telegram-bot/python-telegram-bot

X Title: Make filters and/or-able using bitwise operators. by jsmnbom · Pull Request #411 · python-telegram-bot/python-telegram-bot

Description: We have made you a wrapper you can't refuse. Contribute to python-telegram-bot/python-telegram-bot development by creating an account on GitHub.

Open Graph Description: Would allow filters to be and'ed/or'ed. Using syntax like this: handler = MessageHandler((Filters.text | Filters.venue) & Filters.forwarded, callback) Currently this isn't too usefu...

X Description: Would allow filters to be and'ed/or'ed. Using syntax like this: handler = MessageHandler((Filters.text | Filters.venue) & Filters.forwarded, callback) Currently this isn&...

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/pull/411

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:c0f8a4ce-ae5f-6e40-eb07-616577c29bdb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE338:1C0DF3:246AEF0:2FA7A26:6A5CAF8C
html-safe-nonce69c14eff3984489c0cac1370276cd8e6b463c9dfa6a58bc9cb3e99ebcffa902d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzM4OjFDMERGMzoyNDZBRUYwOjJGQTdBMjY6NkE1Q0FGOEMiLCJ2aXNpdG9yX2lkIjoiODE5NzM0ODkxNTA4NTc2MTQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac52eebd26e112d1078dadb212f31030fe5056516f143d4067933c639fb3cb1eef
hovercard-subject-tagpull_request:85272372
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits
twitter:imagehttps://opengraph.githubassets.com/792ddc2e4243e9035dc072395e2dbdfdfb9658b961f4fd23aedefb28fce37fe2/python-telegram-bot/python-telegram-bot/pull/411
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/792ddc2e4243e9035dc072395e2dbdfdfb9658b961f4fd23aedefb28fce37fe2/python-telegram-bot/python-telegram-bot/pull/411
og:image:altWould allow filters to be and'ed/or'ed. Using syntax like this: handler = MessageHandler((Filters.text | Filters.venue) & Filters.forwarded, callback) Currently this isn't too usefu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejsmnbom
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git
octolytics-dimension-user_id16178365
octolytics-dimension-user_loginpython-telegram-bot
octolytics-dimension-repository_id38696925
octolytics-dimension-repository_nwopython-telegram-bot/python-telegram-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38696925
octolytics-dimension-repository_network_root_nwopython-telegram-bot/python-telegram-bot
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fpull%2F411%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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-telegram-bot%2Fpython-telegram-bot%2Fpull%2F411%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits
python-telegram-bot https://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Notifications https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Fork 6.1k https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Star 29.3k https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Code https://github.com/python-telegram-bot/python-telegram-bot
Issues 24 https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests 9 https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussions https://github.com/python-telegram-bot/python-telegram-bot/discussions
Actions https://github.com/python-telegram-bot/python-telegram-bot/actions
Projects https://github.com/python-telegram-bot/python-telegram-bot/projects
Wiki https://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and quality 0 https://github.com/python-telegram-bot/python-telegram-bot/security
Insights https://github.com/python-telegram-bot/python-telegram-bot/pulse
Code https://github.com/python-telegram-bot/python-telegram-bot
Issues https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussions https://github.com/python-telegram-bot/python-telegram-bot/discussions
Actions https://github.com/python-telegram-bot/python-telegram-bot/actions
Projects https://github.com/python-telegram-bot/python-telegram-bot/projects
Wiki https://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and quality https://github.com/python-telegram-bot/python-telegram-bot/security
Insights https://github.com/python-telegram-bot/python-telegram-bot/pulse
jsmnbomhttps://github.com/jsmnbom
masterhttps://github.com/python-telegram-bot/python-telegram-bot/tree/master
bitwise-filtershttps://github.com/python-telegram-bot/python-telegram-bot/tree/bitwise-filters
Conversationhttps://github.com/python-telegram-bot/python-telegram-bot/pull/411
Commits14 (14)https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits
Checkshttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/checks
Files changedhttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/files
Make filters and/or-able using bitwise operators.https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits#top
jsmnbomhttps://github.com/jsmnbom
masterhttps://github.com/python-telegram-bot/python-telegram-bot/tree/master
bitwise-filtershttps://github.com/python-telegram-bot/python-telegram-bot/tree/bitwise-filters
Make filters and/or-able using bitwise operators.https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/71e74da0a2b2e70f91e9aad6d73066249fdfc084
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
71e74dahttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/71e74da0a2b2e70f91e9aad6d73066249fdfc084
https://github.com/python-telegram-bot/python-telegram-bot/tree/71e74da0a2b2e70f91e9aad6d73066249fdfc084
Use filter method instead of __call__https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/2161681131aa9d3fcee1a49953fff61c62ecb5dd
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
2161681https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/2161681131aa9d3fcee1a49953fff61c62ecb5dd
https://github.com/python-telegram-bot/python-telegram-bot/tree/2161681131aa9d3fcee1a49953fff61c62ecb5dd
Merge branch 'master' into bitwise-filtershttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/921fbae2f3f9b3430f7131718404709b75a7fbf7
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
921fbaehttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/921fbae2f3f9b3430f7131718404709b75a7fbf7
https://github.com/python-telegram-bot/python-telegram-bot/tree/921fbae2f3f9b3430f7131718404709b75a7fbf7
Merge branch 'master' into bitwise-filtershttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/be0f5bc519853601a8f298c967be8128596de9d9
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
be0f5bchttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/be0f5bc519853601a8f298c967be8128596de9d9
https://github.com/python-telegram-bot/python-telegram-bot/tree/be0f5bc519853601a8f298c967be8128596de9d9
__call__ should return the resulthttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/61596400e18de8d3ecf37ecc2f443329e49e0e4f
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
6159640https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/61596400e18de8d3ecf37ecc2f443329e49e0e4f
https://github.com/python-telegram-bot/python-telegram-bot/tree/61596400e18de8d3ecf37ecc2f443329e49e0e4f
Add docs for filters.https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/3244417f6178c21d9ce9814dd3a0ad019967e1de
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
3244417https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/3244417f6178c21d9ce9814dd3a0ad019967e1de
https://github.com/python-telegram-bot/python-telegram-bot/tree/3244417f6178c21d9ce9814dd3a0ad019967e1de
Add __str__ and __repr__ to MergedFilter.https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/79e065a730dc8b1df93b99a200229813b892be46
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
79e065ahttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/79e065a730dc8b1df93b99a200229813b892be46
https://github.com/python-telegram-bot/python-telegram-bot/tree/79e065a730dc8b1df93b99a200229813b892be46
Allow filters to be passed without list.https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/79bdfe4c5d4a5659c3ff2dc7e725ab95e7029e7b
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
79bdfe4https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/79bdfe4c5d4a5659c3ff2dc7e725ab95e7029e7b
https://github.com/python-telegram-bot/python-telegram-bot/tree/79bdfe4c5d4a5659c3ff2dc7e725ab95e7029e7b
Fix docstring according to Jannes' commentns.https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/ca5e3146c6578d9e2bc482ee090a863eafbfa573
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
ca5e314https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/ca5e3146c6578d9e2bc482ee090a863eafbfa573
https://github.com/python-telegram-bot/python-telegram-bot/tree/ca5e3146c6578d9e2bc482ee090a863eafbfa573
Add "all" filterhttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/c626044a3033432c778984d879467c3acc461c39
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
c626044https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/c626044a3033432c778984d879467c3acc461c39
https://github.com/python-telegram-bot/python-telegram-bot/tree/c626044a3033432c778984d879467c3acc461c39
Inprove coveragehttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/f99b2f8f3b7215c95ff10921a23e7a0bb704421d
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
f99b2f8https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/f99b2f8f3b7215c95ff10921a23e7a0bb704421d
https://github.com/python-telegram-bot/python-telegram-bot/tree/f99b2f8f3b7215c95ff10921a23e7a0bb704421d
Fix py2 compathttps://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/29e0cc64e99c94ed00266e1a71189d8a6aaa5d9c
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
29e0cc6https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/29e0cc64e99c94ed00266e1a71189d8a6aaa5d9c
https://github.com/python-telegram-bot/python-telegram-bot/tree/29e0cc64e99c94ed00266e1a71189d8a6aaa5d9c
assertRegexMatches still exists for now. Use it.https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/5408c23e3306bb253428d6de644b6247359d753b
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
5408c23https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/5408c23e3306bb253428d6de644b6247359d753b
https://github.com/python-telegram-bot/python-telegram-bot/tree/5408c23e3306bb253428d6de644b6247359d753b
__str__ behaves differntly on py2 apparently.https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/39832d2f6b848c3a9fc9ea3c85615e11e7c89808
https://github.com/jsmnbom
jsmnbomhttps://github.com/python-telegram-bot/python-telegram-bot/commits?author=jsmnbom
39832d2https://github.com/python-telegram-bot/python-telegram-bot/pull/411/commits/39832d2f6b848c3a9fc9ea3c85615e11e7c89808
https://github.com/python-telegram-bot/python-telegram-bot/tree/39832d2f6b848c3a9fc9ea3c85615e11e7c89808
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.