René's URL Explorer Experiment


Title: shape_combine definition is invalid - TypeError: Missing required argument destination_window · Issue #262 · python-xlib/python-xlib · GitHub

Open Graph Title: shape_combine definition is invalid - TypeError: Missing required argument destination_window · Issue #262 · python-xlib/python-xlib

X Title: shape_combine definition is invalid - TypeError: Missing required argument destination_window · Issue #262 · python-xlib/python-xlib

Description: I thought I was missing something, but it's looking like no one has EVER used shape_combine, but the definition of the function does not attempt to create the object with the required destination_window parameter: class Combine(rq.Reques...

Open Graph Description: I thought I was missing something, but it's looking like no one has EVER used shape_combine, but the definition of the function does not attempt to create the object with the required destination_w...

X Description: I thought I was missing something, but it's looking like no one has EVER used shape_combine, but the definition of the function does not attempt to create the object with the required destinati...

Opengraph URL: https://github.com/python-xlib/python-xlib/issues/262

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"shape_combine definition is invalid - TypeError: Missing required argument destination_window","articleBody":"I thought I was missing something, but it's looking like no one has EVER used shape_combine, but the definition of the function does not attempt to create the object with the required destination_window parameter:\r\n\r\n```\r\nclass Combine(rq.Request):\r\n\r\n    _request = rq.Struct(\r\n        rq.Card8('opcode'),\r\n        rq.Opcode(3),\r\n        rq.RequestLength(),\r\n        OP('operation'),\r\n        KIND('destination_kind'),\r\n        KIND('source_kind'),\r\n        rq.Pad(1),\r\n        rq.Window('destination_window'),\r\n        rq.Int16('x_offset'),\r\n        rq.Int16('y_offset'),\r\n        rq.Window('source_window'),\r\n    )\r\n[...]\r\ndef combine(self, operation, destination_kind, source_kind, x_offset, y_offset):\r\n    Combine(\r\n        display=self.display,\r\n        opcode=self.display.get_extension_major(extname),\r\n        source_window=self,\r\n        operation=operation,\r\n        destination_kind=destination_kind,\r\n        source_kind=source_kind,\r\n        x_offset=x_offset,\r\n        y_offset=y_offset,\r\n    )\r\n\r\n```\r\nshape_mask is, in believe, only different from shape_combine in that it takes in a window of varying colour depth, instead of a binary bitmap. As such the parameters should be identical except the source_bitmap parameter in shape_mask should instead be the source_kind option (present) and source_window (missing!) in shape_combine. mask is defined as:\r\n\r\n```\r\ndef mask(self, operation, destination_kind, x_offset, y_offset, source_bitmap):\r\n    Mask(\r\n        display=self.display,\r\n        opcode=self.display.get_extension_major(extname),\r\n        destination_window=self,\r\n        operation=operation,\r\n        destination_kind=destination_kind,\r\n        x_offset=x_offset,\r\n        y_offset=y_offset,\r\n        source_bitmap=source_bitmap,\r\n    )\r\n```\r\nso combine should actually be defined as:\r\n```\r\ndef combine(self, operation, destination_kind, source_kind, x_offset, y_offset):\r\n    Combine(\r\n        display=self.display,\r\n        opcode=self.display.get_extension_major(extname),\r\n        source_window=source_window\r\n        destination_window=self,\r\n        operation=operation,\r\n        destination_kind=destination_kind,\r\n        source_kind=source_kind,\r\n        x_offset=x_offset,\r\n        y_offset=y_offset,\r\n        source_window=source_window\r\n    )\r\n```\r\nIndeed it seems that parameters for source and destination windows have in fact been... wait for it... combined! \r\n\r\n #263 ","author":{"url":"https://github.com/acidkewpie","@type":"Person","name":"acidkewpie"},"datePublished":"2023-03-15T22:55:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/262/python-xlib/issues/262"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7c2ca22d-930a-d3e4-2c83-c10bd8a40483
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCA5C:3C7D7F:291D415:377CF58:696AEB1F
html-safe-nonce18baacf3358c9927102c7119d19b301a86743886c28eaa49c8cff779e6e6c292
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTVDOjNDN0Q3RjoyOTFENDE1OjM3N0NGNTg6Njk2QUVCMUYiLCJ2aXNpdG9yX2lkIjoiNzAzOTgwNzYwNzMyMDI3NTc0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdc7809ab3f03884d4f0686e6e3f1329b8bc0ac610c5ab2e391af0fc9a10abbd9
hovercard-subject-tagissue:1626393737
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-xlib/python-xlib/262/issue_layout
twitter:imagehttps://opengraph.githubassets.com/750a56fbf4b884eadf0de27ba38d1b25ebc3787d25d14c8bf5cdef3e034e2cf5/python-xlib/python-xlib/issues/262
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/750a56fbf4b884eadf0de27ba38d1b25ebc3787d25d14c8bf5cdef3e034e2cf5/python-xlib/python-xlib/issues/262
og:image:altI thought I was missing something, but it's looking like no one has EVER used shape_combine, but the definition of the function does not attempt to create the object with the required destination_w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameacidkewpie
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-xlib/python-xlib/issues/262#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-xlib%2Fpython-xlib%2Fissues%2F262
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%2Fissues%2F262
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-xlib%2Fpython-xlib
Reloadhttps://github.com/python-xlib/python-xlib/issues/262
Reloadhttps://github.com/python-xlib/python-xlib/issues/262
Reloadhttps://github.com/python-xlib/python-xlib/issues/262
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/issues/262
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
New issuehttps://github.com/login?return_to=https://github.com/python-xlib/python-xlib/issues/262
New issuehttps://github.com/login?return_to=https://github.com/python-xlib/python-xlib/issues/262
shape_combine definition is invalid - TypeError: Missing required argument destination_windowhttps://github.com/python-xlib/python-xlib/issues/262#top
https://github.com/acidkewpie
https://github.com/acidkewpie
acidkewpiehttps://github.com/acidkewpie
on Mar 15, 2023https://github.com/python-xlib/python-xlib/issues/262#issue-1626393737
#263https://github.com/python-xlib/python-xlib/pull/263
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.