René's URL Explorer Experiment


Title: Modernize code and silence all warnings by keszybz · Pull Request #160 · systemd/python-systemd · GitHub

Open Graph Title: Modernize code and silence all warnings by keszybz · Pull Request #160 · systemd/python-systemd

X Title: Modernize code and silence all warnings by keszybz · Pull Request #160 · systemd/python-systemd

Description: Python wrappers for systemd functionality. Contribute to systemd/python-systemd development by creating an account on GitHub.

Open Graph Description: This is in preparation for real changes like #144. Now at least the code compiles cleanly and it's easier to see mistakes.

X Description: This is in preparation for real changes like #144. Now at least the code compiles cleanly and it's easier to see mistakes.

Opengraph URL: https://github.com/systemd/python-systemd/pull/160

X: @github

direct link

Domain: redirect.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:690a935f-8703-9664-e9fa-eaa33157f2e9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8426:FC5F:6FE308:A39FC4:6A4E10F4
html-safe-nonce9b14fd0dc526900f566edb2b99050006d2cf7d688d098f61dd8b6ef29cd9c114
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDI2OkZDNUY6NkZFMzA4OkEzOUZDNDo2QTRFMTBGNCIsInZpc2l0b3JfaWQiOiI1MDA4OTY5NDY4NTkzNzA1MjA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac76e9637aa81ed6be3988286679a155c02dca0fefde7285b1733a45d26bd483c1
hovercard-subject-tagpull_request:2906995881
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/systemd/python-systemd/160/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/215ed754a17b62b1e6943f7dd7cbcd1e61ce798c0bd014d47e48c6206735975f/systemd/python-systemd/pull/160
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/215ed754a17b62b1e6943f7dd7cbcd1e61ce798c0bd014d47e48c6206735975f/systemd/python-systemd/pull/160
og:image:altThis is in preparation for real changes like #144. Now at least the code compiles cleanly and it's easier to see mistakes.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekeszybz
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-cache
go-importgithub.com/systemd/python-systemd git https://github.com/systemd/python-systemd.git
octolytics-dimension-user_id1918868
octolytics-dimension-user_loginsystemd
octolytics-dimension-repository_id38590109
octolytics-dimension-repository_nwosystemd/python-systemd
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38590109
octolytics-dimension-repository_network_root_nwosystemd/python-systemd
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
release51470c353b8a1f52a88d3e3cc2014b17ab8cc1ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/systemd/python-systemd/pull/160#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsystemd%2Fpython-systemd%2Fpull%2F160
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsystemd%2Fpython-systemd%2Fpull%2F160
Sign up https://redirect.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=systemd%2Fpython-systemd
Reloadhttps://redirect.github.com/systemd/python-systemd/pull/160
Reloadhttps://redirect.github.com/systemd/python-systemd/pull/160
Reloadhttps://redirect.github.com/systemd/python-systemd/pull/160
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
systemd https://redirect.github.com/systemd
python-systemdhttps://redirect.github.com/systemd/python-systemd
Notifications https://redirect.github.com/login?return_to=%2Fsystemd%2Fpython-systemd
Fork 77 https://redirect.github.com/login?return_to=%2Fsystemd%2Fpython-systemd
Star 521 https://redirect.github.com/login?return_to=%2Fsystemd%2Fpython-systemd
Code https://redirect.github.com/systemd/python-systemd
Issues 26 https://redirect.github.com/systemd/python-systemd/issues
Pull requests 3 https://redirect.github.com/systemd/python-systemd/pulls
Actions https://redirect.github.com/systemd/python-systemd/actions
Models https://redirect.github.com/systemd/python-systemd/models
Security and quality 0 https://redirect.github.com/systemd/python-systemd/security
Insights https://redirect.github.com/systemd/python-systemd/pulse
Code https://redirect.github.com/systemd/python-systemd
Issues https://redirect.github.com/systemd/python-systemd/issues
Pull requests https://redirect.github.com/systemd/python-systemd/pulls
Actions https://redirect.github.com/systemd/python-systemd/actions
Models https://redirect.github.com/systemd/python-systemd/models
Security and quality https://redirect.github.com/systemd/python-systemd/security
Insights https://redirect.github.com/systemd/python-systemd/pulse
keszybzhttps://redirect.github.com/keszybz
systemd:mainhttps://redirect.github.com/systemd/python-systemd/tree/main
keszybz:modernize-code-and-silence-all-warningshttps://redirect.github.com/keszybz/python-systemd/tree/modernize-code-and-silence-all-warnings
Conversationhttps://redirect.github.com/systemd/python-systemd/pull/160
Commits12 (12)https://redirect.github.com/systemd/python-systemd/pull/160/commits
Checkshttps://redirect.github.com/systemd/python-systemd/pull/160/checks
Files changedhttps://redirect.github.com/systemd/python-systemd/pull/160/files
Modernize code and silence all warningshttps://redirect.github.com/systemd/python-systemd/pull/160#top
keszybzhttps://redirect.github.com/keszybz
systemd:mainhttps://redirect.github.com/systemd/python-systemd/tree/main
keszybz:modernize-code-and-silence-all-warningshttps://redirect.github.com/keszybz/python-systemd/tree/modernize-code-and-silence-all-warnings
https://redirect.github.com/keszybz
keszybzhttps://redirect.github.com/keszybz
Oct 11, 2025https://redirect.github.com/systemd/python-systemd/pull/160#issue-3506323314
#144https://github.com/systemd/python-systemd/pull/144
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
keszybzhttps://redirect.github.com/keszybz
October 11, 2025 22:30https://redirect.github.com/systemd/python-systemd/pull/160#commits-pushed-3ab8f5b
https://redirect.github.com/keszybz
modules: silence warnings about unused paramshttps://redirect.github.com/systemd/python-systemd/pull/160/commits/3ab8f5b75344fcd588d3bcd259cd83476c75abd0
3ab8f5bhttps://redirect.github.com/systemd/python-systemd/pull/160/commits/3ab8f5b75344fcd588d3bcd259cd83476c75abd0
https://redirect.github.com/keszybz
reader: drop pointless type suffixeshttps://redirect.github.com/systemd/python-systemd/pull/160/commits/87e9eda858b72a5ef45c7662474db640da285787
87e9edahttps://redirect.github.com/systemd/python-systemd/pull/160/commits/87e9eda858b72a5ef45c7662474db640da285787
https://redirect.github.com/keszybz
keszybzhttps://redirect.github.com/keszybz
Oct 14, 2025 https://redirect.github.com/systemd/python-systemd/pull/160#ref-pullrequest-3481679144
Update constants for systemd 258 #157 https://redirect.github.com/systemd/python-systemd/pull/157
https://redirect.github.com/behrmann
behrmannhttps://redirect.github.com/behrmann
Oct 14, 2025 https://redirect.github.com/systemd/python-systemd/pull/160#pullrequestreview-3336075424
View reviewed changes https://redirect.github.com/systemd/python-systemd/pull/160/files
behrmannhttps://redirect.github.com/behrmann
https://redirect.github.com/systemd/python-systemd/pull/160#pullrequestreview-3336075424
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
src/systemd/_reader.chttps://redirect.github.com/systemd/python-systemd/pull/160/files#diff-15a9a330ca44dcec49f7fb36c708c12daa4d4e8687f79c537e8ff4d49b41a206
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
src/systemd/_reader.chttps://redirect.github.com/systemd/python-systemd/pull/160/files#diff-15a9a330ca44dcec49f7fb36c708c12daa4d4e8687f79c537e8ff4d49b41a206
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
src/systemd/_reader.chttps://redirect.github.com/systemd/python-systemd/pull/160/files#diff-15a9a330ca44dcec49f7fb36c708c12daa4d4e8687f79c537e8ff4d49b41a206
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
src/systemd/_daemon.chttps://redirect.github.com/systemd/python-systemd/pull/160/files#diff-e0c2ab94f78a771ee561f2f0c19c38befa5f4d93ba245563794331399e676b69
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
keszybzhttps://redirect.github.com/keszybz
October 15, 2025 09:44https://redirect.github.com/systemd/python-systemd/pull/160#commits-pushed-56e2adc
https://redirect.github.com/keszybz
reader: drop kwargs declaration in the _reader.Journal.add_match regi…https://redirect.github.com/systemd/python-systemd/pull/160/commits/56e2adccc5a3e43e33b574a21598dd22f6e86357
56e2adchttps://redirect.github.com/systemd/python-systemd/pull/160/commits/56e2adccc5a3e43e33b574a21598dd22f6e86357
https://redirect.github.com/keszybz
modules: indent tableshttps://redirect.github.com/systemd/python-systemd/pull/160/commits/764a1311108b54d44a46d165e5a8bb17016cdc30
764a131https://redirect.github.com/systemd/python-systemd/pull/160/commits/764a1311108b54d44a46d165e5a8bb17016cdc30
https://redirect.github.com/keszybz
login: silence warning about missing initializer for slotshttps://redirect.github.com/systemd/python-systemd/pull/160/commits/35f146f2e6cbe75db18b3cbc32a738bae203f7f8
35f146fhttps://redirect.github.com/systemd/python-systemd/pull/160/commits/35f146f2e6cbe75db18b3cbc32a738bae203f7f8
https://redirect.github.com/keszybz
daemon: silence warning about casts for kwargs functionshttps://redirect.github.com/systemd/python-systemd/pull/160/commits/329e71a18dc99c6d20c0e96bc5a69a37eee3d34b
329e71ahttps://redirect.github.com/systemd/python-systemd/pull/160/commits/329e71a18dc99c6d20c0e96bc5a69a37eee3d34b
https://redirect.github.com/keszybz
reader: rename .j to .journalhttps://redirect.github.com/systemd/python-systemd/pull/160/commits/549e3cb6149e90c1bdefc35119fa35ce94e7d6a0
549e3cbhttps://redirect.github.com/systemd/python-systemd/pull/160/commits/549e3cb6149e90c1bdefc35119fa35ce94e7d6a0
https://redirect.github.com/keszybz
modules: modernize variable declarationshttps://redirect.github.com/systemd/python-systemd/pull/160/commits/f54b50c82e1c69e89af9a99f8e9519a6a36b9214
f54b50chttps://redirect.github.com/systemd/python-systemd/pull/160/commits/f54b50c82e1c69e89af9a99f8e9519a6a36b9214
https://redirect.github.com/keszybz
modules: drop references to IOErrorhttps://redirect.github.com/systemd/python-systemd/pull/160/commits/92db8b9cd40869ee87f2eae4b77299235f109c31
92db8b9https://redirect.github.com/systemd/python-systemd/pull/160/commits/92db8b9cd40869ee87f2eae4b77299235f109c31
https://redirect.github.com/keszybz
modules: get rid of python2-era compat ifdefshttps://redirect.github.com/systemd/python-systemd/pull/160/commits/6e9b86eb1d97a6aee499d2bcf96f70234e6f3780
6e9b86ehttps://redirect.github.com/systemd/python-systemd/pull/160/commits/6e9b86eb1d97a6aee499d2bcf96f70234e6f3780
https://redirect.github.com/keszybz
meson: add global defines using add_project_arguments()https://redirect.github.com/systemd/python-systemd/pull/160/commits/5906f045a404206050e67884e0a0ac97ca0e4462
5906f04https://redirect.github.com/systemd/python-systemd/pull/160/commits/5906f045a404206050e67884e0a0ac97ca0e4462
https://redirect.github.com/keszybz
modules: include Python.h from one place only, clean up includeshttps://redirect.github.com/systemd/python-systemd/pull/160/commits/163a99aa2582770a5000950850d7b87ed7d91a1b
163a99ahttps://redirect.github.com/systemd/python-systemd/pull/160/commits/163a99aa2582770a5000950850d7b87ed7d91a1b
https://redirect.github.com/keszybz
keszybzhttps://redirect.github.com/keszybz
force-pushedhttps://redirect.github.com/systemd/python-systemd/compare/9bd1a0a96a8f4458d5d28c1cc090c5f4b3006518..163a99aa2582770a5000950850d7b87ed7d91a1b
9bd1a0ahttps://redirect.github.com/systemd/python-systemd/commit/9bd1a0a96a8f4458d5d28c1cc090c5f4b3006518
163a99ahttps://redirect.github.com/systemd/python-systemd/commit/163a99aa2582770a5000950850d7b87ed7d91a1b
Compare https://redirect.github.com/systemd/python-systemd/compare/9bd1a0a96a8f4458d5d28c1cc090c5f4b3006518..163a99aa2582770a5000950850d7b87ed7d91a1b
October 15, 2025 07:51https://redirect.github.com/systemd/python-systemd/pull/160#event-20287907554
https://redirect.github.com/keszybz
keszybzhttps://redirect.github.com/keszybz
Oct 15, 2025https://redirect.github.com/systemd/python-systemd/pull/160#issuecomment-3405038443
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
https://redirect.github.com/keszybz
keszybzhttps://redirect.github.com/keszybz
1afbdabhttps://redirect.github.com/systemd/python-systemd/commit/1afbdabfb9a19a4695042e9494b122865953ba11
Oct 15, 2025https://github.com/systemd/python-systemd/pull/160#event-20288066505
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
https://redirect.github.com/keszybz
keszybzhttps://redirect.github.com/keszybz
October 15, 2025 07:59https://redirect.github.com/systemd/python-systemd/pull/160#event-20288067350
https://github.co/hiddenchars
https://redirect.github.com/systemd/python-systemd/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsystemd%2Fpython-systemd%2Fpull%2F160
https://redirect.github.com/behrmann
behrmann https://redirect.github.com/behrmann
https://redirect.github.com/systemd/python-systemd/pull/160/files/9bd1a0a96a8f4458d5d28c1cc090c5f4b3006518
Please reload this pagehttps://redirect.github.com/systemd/python-systemd/pull/160
https://redirect.github.com/keszybz
https://redirect.github.com/behrmann
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.