René's URL Explorer Experiment


Title: py.typed and type comments by Avasam · Pull Request #251 · python-xlib/python-xlib · GitHub

Open Graph Title: py.typed and type comments by Avasam · Pull Request #251 · python-xlib/python-xlib

X Title: py.typed and type comments by Avasam · Pull Request #251 · python-xlib/python-xlib

Description: XLib in pure Python (Py2/Py3 compatible). Contribute to python-xlib/python-xlib development by creating an account on GitHub.

Open Graph Description: Added type comments as per PEP 561 to type all public API while staying Python 2 compatible. (type definitions only need to be compatible with non EOL python versions. Using type comments instead o...

X Description: Added type comments as per PEP 561 to type all public API while staying Python 2 compatible. (type definitions only need to be compatible with non EOL python versions. Using type comments instead o...

Opengraph URL: https://github.com/python-xlib/python-xlib/pull/251

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:7e3b3b0c-c0ae-0383-8e2c-afc8c996388b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC740:27E9DD:186F199:2241552:696A4B8B
html-safe-nonce6a4d2d7cb3110609c08315973c556162ac64d78fcd458b7b5988bfcd3a846071
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzQwOjI3RTlERDoxODZGMTk5OjIyNDE1NTI6Njk2QTRCOEIiLCJ2aXNpdG9yX2lkIjoiNzU2ODk0NDMwNDE1OTY1MDY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac79814b7df8036705c7b68f17e5362d6a2cf4031304dfe3f390d6755052ca8457
hovercard-subject-tagpull_request:1125293455
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-xlib/python-xlib/pull/251/commits
twitter:imagehttps://opengraph.githubassets.com/95c427b3cea4f2422c5ce452b4f29e431216f99a9e3619a35d7494fcccf00823/python-xlib/python-xlib/pull/251
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/95c427b3cea4f2422c5ce452b4f29e431216f99a9e3619a35d7494fcccf00823/python-xlib/python-xlib/pull/251
og:image:altAdded type comments as per PEP 561 to type all public API while staying Python 2 compatible. (type definitions only need to be compatible with non EOL python versions. Using type comments instead o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAvasam
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
turbo-cache-controlno-cache
go-importgithub.com/python-xlib/python-xlib git https://github.com/python-xlib/python-xlib.git
octolytics-dimension-user_id16151530
octolytics-dimension-user_loginpython-xlib
octolytics-dimension-repository_id47391866
octolytics-dimension-repository_nwopython-xlib/python-xlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id47391866
octolytics-dimension-repository_network_root_nwopython-xlib/python-xlib
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
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-xlib/python-xlib/pull/251/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-xlib%2Fpython-xlib%2Fpull%2F251%2Fcommits
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-xlib%2Fpython-xlib%2Fpull%2F251%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-xlib%2Fpython-xlib
Reloadhttps://github.com/python-xlib/python-xlib/pull/251/commits
Reloadhttps://github.com/python-xlib/python-xlib/pull/251/commits
Reloadhttps://github.com/python-xlib/python-xlib/pull/251/commits
python-xlib https://github.com/python-xlib
python-xlibhttps://github.com/python-xlib/python-xlib
Notifications https://github.com/login?return_to=%2Fpython-xlib%2Fpython-xlib
Fork 112 https://github.com/login?return_to=%2Fpython-xlib%2Fpython-xlib
Star 455 https://github.com/login?return_to=%2Fpython-xlib%2Fpython-xlib
Code https://github.com/python-xlib/python-xlib
Issues 65 https://github.com/python-xlib/python-xlib/issues
Pull requests 16 https://github.com/python-xlib/python-xlib/pulls
Discussions https://github.com/python-xlib/python-xlib/discussions
Actions https://github.com/python-xlib/python-xlib/actions
Projects 0 https://github.com/python-xlib/python-xlib/projects
Wiki https://github.com/python-xlib/python-xlib/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python-xlib/python-xlib/security
Please reload this pagehttps://github.com/python-xlib/python-xlib/pull/251/commits
Insights https://github.com/python-xlib/python-xlib/pulse
Code https://github.com/python-xlib/python-xlib
Issues https://github.com/python-xlib/python-xlib/issues
Pull requests https://github.com/python-xlib/python-xlib/pulls
Discussions https://github.com/python-xlib/python-xlib/discussions
Actions https://github.com/python-xlib/python-xlib/actions
Projects https://github.com/python-xlib/python-xlib/projects
Wiki https://github.com/python-xlib/python-xlib/wiki
Security https://github.com/python-xlib/python-xlib/security
Insights https://github.com/python-xlib/python-xlib/pulse
Avasamhttps://github.com/Avasam
python-xlib:masterhttps://github.com/python-xlib/python-xlib/tree/master
Avasam:type-commentshttps://github.com/Avasam/python-xlib/tree/type-comments
Conversationhttps://github.com/python-xlib/python-xlib/pull/251
Commits19 (19)https://github.com/python-xlib/python-xlib/pull/251/commits
Checkshttps://github.com/python-xlib/python-xlib/pull/251/checks
Files changedhttps://github.com/python-xlib/python-xlib/pull/251/files
py.typed and type commentshttps://github.com/python-xlib/python-xlib/pull/251/commits#top
Avasamhttps://github.com/Avasam
python-xlib:masterhttps://github.com/python-xlib/python-xlib/tree/master
Avasam:type-commentshttps://github.com/Avasam/python-xlib/tree/type-comments
py.typed and type commentshttps://github.com/python-xlib/python-xlib/pull/251/commits/4f5362e4c91f3b77e51e2e9e324433da35af41e9
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
4f5362ehttps://github.com/python-xlib/python-xlib/pull/251/commits/4f5362e4c91f3b77e51e2e9e324433da35af41e9
https://github.com/python-xlib/python-xlib/tree/4f5362e4c91f3b77e51e2e9e324433da35af41e9
Update rq.pyhttps://github.com/python-xlib/python-xlib/pull/251/commits/834881fc418ca0ff5239c90571b41f42845148f0
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
834881fhttps://github.com/python-xlib/python-xlib/pull/251/commits/834881fc418ca0ff5239c90571b41f42845148f0
https://github.com/python-xlib/python-xlib/tree/834881fc418ca0ff5239c90571b41f42845148f0
Update display.pyhttps://github.com/python-xlib/python-xlib/pull/251/commits/4d052606a5fc8a0caf272f995c852741c289c973
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
4d05260https://github.com/python-xlib/python-xlib/pull/251/commits/4d052606a5fc8a0caf272f995c852741c289c973
https://github.com/python-xlib/python-xlib/tree/4d052606a5fc8a0caf272f995c852741c289c973
Update typeshttps://github.com/python-xlib/python-xlib/pull/251/commits/f53aa8ecefa231ac37c2905d190a82041589f4d3
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
f53aa8ehttps://github.com/python-xlib/python-xlib/pull/251/commits/f53aa8ecefa231ac37c2905d190a82041589f4d3
https://github.com/python-xlib/python-xlib/tree/f53aa8ecefa231ac37c2905d190a82041589f4d3
Fix syntax errorhttps://github.com/python-xlib/python-xlib/pull/251/commits/eba9e6fa4f0c83d77a1afe699cca65ed31aae465
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
eba9e6fhttps://github.com/python-xlib/python-xlib/pull/251/commits/eba9e6fa4f0c83d77a1afe699cca65ed31aae465
https://github.com/python-xlib/python-xlib/tree/eba9e6fa4f0c83d77a1afe699cca65ed31aae465
Merge branch 'type-comments' of https://github.com/Avasam/python-xlib into type-commentshttps://github.com/python-xlib/python-xlib/pull/251/commits/3154d160ff1674e8a18b4eb1fd09ff01bb3ce6dc
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
3154d16https://github.com/python-xlib/python-xlib/pull/251/commits/3154d160ff1674e8a18b4eb1fd09ff01bb3ce6dc
https://github.com/python-xlib/python-xlib/tree/3154d160ff1674e8a18b4eb1fd09ff01bb3ce6dc
No TypeAlias explicit typinghttps://github.com/python-xlib/python-xlib/pull/251/commits/c7a798aa32f8266562647cbbe94b12a6ed9174bf
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
c7a798ahttps://github.com/python-xlib/python-xlib/pull/251/commits/c7a798aa32f8266562647cbbe94b12a6ed9174bf
https://github.com/python-xlib/python-xlib/tree/c7a798aa32f8266562647cbbe94b12a6ed9174bf
XKhttps://github.com/python-xlib/python-xlib/pull/251/commits/53bd753b8e84cfa90967bc5efb76fe0ff6438e26
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
53bd753https://github.com/python-xlib/python-xlib/pull/251/commits/53bd753b8e84cfa90967bc5efb76fe0ff6438e26
https://github.com/python-xlib/python-xlib/tree/53bd753b8e84cfa90967bc5efb76fe0ff6438e26
Fix overload and TYPE_CHECKING type commentshttps://github.com/python-xlib/python-xlib/pull/251/commits/7697da91fd4276b3969820e10cdfe7e9598935b3
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
7697da9https://github.com/python-xlib/python-xlib/pull/251/commits/7697da91fd4276b3969820e10cdfe7e9598935b3
https://github.com/python-xlib/python-xlib/tree/7697da91fd4276b3969820e10cdfe7e9598935b3
Remove from __future__https://github.com/python-xlib/python-xlib/pull/251/commits/ddb1e77eb4376c24f4f0a75d8c625ce258bf4973
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
ddb1e77https://github.com/python-xlib/python-xlib/pull/251/commits/ddb1e77eb4376c24f4f0a75d8c625ce258bf4973
https://github.com/python-xlib/python-xlib/tree/ddb1e77eb4376c24f4f0a75d8c625ce258bf4973
Update commetns and spacinghttps://github.com/python-xlib/python-xlib/pull/251/commits/ad71f6c1b1af47df167ad5c713fa82ed5ca779ab
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
ad71f6chttps://github.com/python-xlib/python-xlib/pull/251/commits/ad71f6c1b1af47df167ad5c713fa82ed5ca779ab
https://github.com/python-xlib/python-xlib/tree/ad71f6c1b1af47df167ad5c713fa82ed5ca779ab
__getattr__ changehttps://github.com/python-xlib/python-xlib/pull/251/commits/830f0c5f2806607c6120333a6b767fc48b7014ec
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
830f0c5https://github.com/python-xlib/python-xlib/pull/251/commits/830f0c5f2806607c6120333a6b767fc48b7014ec
https://github.com/python-xlib/python-xlib/tree/830f0c5f2806607c6120333a6b767fc48b7014ec
syntax errorhttps://github.com/python-xlib/python-xlib/pull/251/commits/035edd43107892851219567b25beefb24c7cfb4d
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
035edd4https://github.com/python-xlib/python-xlib/pull/251/commits/035edd43107892851219567b25beefb24c7cfb4d
https://github.com/python-xlib/python-xlib/tree/035edd43107892851219567b25beefb24c7cfb4d
test with comments?https://github.com/python-xlib/python-xlib/pull/251/commits/909a748de53f16411b1686913f681ecf57032d19
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
909a748https://github.com/python-xlib/python-xlib/pull/251/commits/909a748de53f16411b1686913f681ecf57032d19
https://github.com/python-xlib/python-xlib/tree/909a748de53f16411b1686913f681ecf57032d19
probably fixedhttps://github.com/python-xlib/python-xlib/pull/251/commits/f46b72c1ea353e03f5c0d829c5559bb693cd0a11
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
f46b72chttps://github.com/python-xlib/python-xlib/pull/251/commits/f46b72c1ea353e03f5c0d829c5559bb693cd0a11
https://github.com/python-xlib/python-xlib/tree/f46b72c1ea353e03f5c0d829c5559bb693cd0a11
Nonable lengthhttps://github.com/python-xlib/python-xlib/pull/251/commits/dfdf8c1eda5397f35f02813d23b294a549fb6e21
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
dfdf8c1https://github.com/python-xlib/python-xlib/pull/251/commits/dfdf8c1eda5397f35f02813d23b294a549fb6e21
https://github.com/python-xlib/python-xlib/tree/dfdf8c1eda5397f35f02813d23b294a549fb6e21
Update some buffer typeshttps://github.com/python-xlib/python-xlib/pull/251/commits/14e620dda872a43d65439824c97b9e2693191570
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
14e620dhttps://github.com/python-xlib/python-xlib/pull/251/commits/14e620dda872a43d65439824c97b9e2693191570
https://github.com/python-xlib/python-xlib/tree/14e620dda872a43d65439824c97b9e2693191570
Type comments updatehttps://github.com/python-xlib/python-xlib/pull/251/commits/d1797a31c868a3d53d8e86d1cfde8cff4a282d02
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
d1797a3https://github.com/python-xlib/python-xlib/pull/251/commits/d1797a31c868a3d53d8e86d1cfde8cff4a282d02
https://github.com/python-xlib/python-xlib/tree/d1797a31c868a3d53d8e86d1cfde8cff4a282d02
Merge branch 'master' of https://github.com/python-xlib/python-xlib into type-commentshttps://github.com/python-xlib/python-xlib/pull/251/commits/1c163a27a7967d72485e58590b47d543fdb7435a
https://github.com/Avasam
Avasamhttps://github.com/python-xlib/python-xlib/commits?author=Avasam
1c163a2https://github.com/python-xlib/python-xlib/pull/251/commits/1c163a27a7967d72485e58590b47d543fdb7435a
https://github.com/python-xlib/python-xlib/tree/1c163a27a7967d72485e58590b47d543fdb7435a
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.