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: 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:db7ecdfa-92e2-f918-16ba-3eb07b73cd8b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB26A:306D2B:6478F3:8EA251:6A4E72D5
html-safe-noncea7f5890b1767433e6d3bac9bb2456aab87c14e780cc30b8a2d364536f6af33c8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjZBOjMwNkQyQjo2NDc4RjM6OEVBMjUxOjZBNEU3MkQ1IiwidmlzaXRvcl9pZCI6IjgxMDAxMTcwNDU2NzA5OTg3NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbf247cfcc6f6669ab46d34b0f287cd9f3c65088cf6e6d305d8b0693a739d62bc
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
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

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