René's URL Explorer Experiment


Title: gh-91090: Make started multiprocessing.Process instances and started multiprocessing.managers.BaseManager instances serialisable by geryogam · Pull Request #31701 · python/cpython · GitHub

Open Graph Title: gh-91090: Make started multiprocessing.Process instances and started multiprocessing.managers.BaseManager instances serialisable by geryogam · Pull Request #31701 · python/cpython

X Title: gh-91090: Make started multiprocessing.Process instances and started multiprocessing.managers.BaseManager instances serialisable by geryogam · Pull Request #31701 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Since starting a multiprocessing.Process instance p stores a weak reference at p._popen.finalizer._weakref which makes p unserialisable, we solve that issue by storing only the _key of the finalize...

X Description: Since starting a multiprocessing.Process instance p stores a weak reference at p._popen.finalizer._weakref which makes p unserialisable, we solve that issue by storing only the _key of the finalize...

Opengraph URL: https://github.com/python/cpython/pull/31701

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:9ab5d7e9-217a-3012-bfda-354eb1880a9d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC50:23C0EB:4B6C1B:6ABCA9:696A4784
html-safe-noncef08f3e6d42b801902bd789389aed1b287132f984d0bcf181b6c97e7769845ca5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzUwOjIzQzBFQjo0QjZDMUI6NkFCQ0E5OjY5NkE0Nzg0IiwidmlzaXRvcl9pZCI6IjYyNzIyNjQxMzc5NzQ4OTI0MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac09c8715058f4e0de7f3bb2c0f855d81d82c0afa44fee6aee255b26b518366c5e
hovercard-subject-tagpull_request:872345328
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/cpython/pull/31701/commits
twitter:imagehttps://opengraph.githubassets.com/51a460dd48daf9ae64b50b86308f3273f15f3a203fdf15f5fcebb0fbfc697172/python/cpython/pull/31701
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/51a460dd48daf9ae64b50b86308f3273f15f3a203fdf15f5fcebb0fbfc697172/python/cpython/pull/31701
og:image:altSince starting a multiprocessing.Process instance p stores a weak reference at p._popen.finalizer._weakref which makes p unserialisable, we solve that issue by storing only the _key of the finalize...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegeryogam
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31701/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31701%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%2Fcpython%2Fpull%2F31701%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%2Fcpython
Reloadhttps://github.com/python/cpython/pull/31701/commits
Reloadhttps://github.com/python/cpython/pull/31701/commits
Reloadhttps://github.com/python/cpython/pull/31701/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31701/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/31701/commits
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
geryogamhttps://github.com/geryogam
python:mainhttps://github.com/python/cpython/tree/main
geryogam:patch-21https://github.com/geryogam/cpython/tree/patch-21
Conversationhttps://github.com/python/cpython/pull/31701
Commits26 (26)https://github.com/python/cpython/pull/31701/commits
Checkshttps://github.com/python/cpython/pull/31701/checks
Files changedhttps://github.com/python/cpython/pull/31701/files
gh-91090: Make started multiprocessing.Process instances and started multiprocessing.managers.BaseManager instances serialisablehttps://github.com/python/cpython/pull/31701/commits#top
geryogamhttps://github.com/geryogam
python:mainhttps://github.com/python/cpython/tree/main
geryogam:patch-21https://github.com/geryogam/cpython/tree/patch-21
Update popen_spawn_posix.pyhttps://github.com/python/cpython/pull/31701/commits/d628fc1bf59fcf1e82a4a6aa912c0cbcf8f4381f
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
d628fc1https://github.com/python/cpython/pull/31701/commits/d628fc1bf59fcf1e82a4a6aa912c0cbcf8f4381f
https://github.com/python/cpython/tree/d628fc1bf59fcf1e82a4a6aa912c0cbcf8f4381f
Update popen_fork.pyhttps://github.com/python/cpython/pull/31701/commits/e369d5e554b5b3816f0a8543ae66275b61936912
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
e369d5ehttps://github.com/python/cpython/pull/31701/commits/e369d5e554b5b3816f0a8543ae66275b61936912
https://github.com/python/cpython/tree/e369d5e554b5b3816f0a8543ae66275b61936912
Update popen_forkserver.pyhttps://github.com/python/cpython/pull/31701/commits/590f44643e50a1a7eaa2f9a2321a7fd3880580de
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
590f446https://github.com/python/cpython/pull/31701/commits/590f44643e50a1a7eaa2f9a2321a7fd3880580de
https://github.com/python/cpython/tree/590f44643e50a1a7eaa2f9a2321a7fd3880580de
Update popen_spawn_win32.pyhttps://github.com/python/cpython/pull/31701/commits/941e4c074aae3a3e89476e987c46d2222690fca0
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
941e4c0https://github.com/python/cpython/pull/31701/commits/941e4c074aae3a3e89476e987c46d2222690fca0
https://github.com/python/cpython/tree/941e4c074aae3a3e89476e987c46d2222690fca0
Update managers.pyhttps://github.com/python/cpython/pull/31701/commits/e2a93dcd6ead74542c17744d38fc8862e255d71b
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
e2a93dchttps://github.com/python/cpython/pull/31701/commits/e2a93dcd6ead74542c17744d38fc8862e255d71b
https://github.com/python/cpython/tree/e2a93dcd6ead74542c17744d38fc8862e255d71b
Update popen_spawn_win32.pyhttps://github.com/python/cpython/pull/31701/commits/2513628df54796444a15f77f4d61d8d2b929cd46
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
2513628https://github.com/python/cpython/pull/31701/commits/2513628df54796444a15f77f4d61d8d2b929cd46
https://github.com/python/cpython/tree/2513628df54796444a15f77f4d61d8d2b929cd46
Update popen_fork.pyhttps://github.com/python/cpython/pull/31701/commits/c55302bab84003e8734deec4144bfc0f2ab81335
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
c55302bhttps://github.com/python/cpython/pull/31701/commits/c55302bab84003e8734deec4144bfc0f2ab81335
https://github.com/python/cpython/tree/c55302bab84003e8734deec4144bfc0f2ab81335
Update popen_forkserver.pyhttps://github.com/python/cpython/pull/31701/commits/409349f53f44595c33b6a1cccf08491523806b3d
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
409349fhttps://github.com/python/cpython/pull/31701/commits/409349f53f44595c33b6a1cccf08491523806b3d
https://github.com/python/cpython/tree/409349f53f44595c33b6a1cccf08491523806b3d
Update popen_spawn_posix.pyhttps://github.com/python/cpython/pull/31701/commits/2eeeeb6e4c7be488aeea9bcec16eed450a01c4b7
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
2eeeeb6https://github.com/python/cpython/pull/31701/commits/2eeeeb6e4c7be488aeea9bcec16eed450a01c4b7
https://github.com/python/cpython/tree/2eeeeb6e4c7be488aeea9bcec16eed450a01c4b7
Add unit testshttps://github.com/python/cpython/pull/31701/commits/ade0b2adb83c5e6a1c5d2306bb8c373bd794afbc
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
ade0b2ahttps://github.com/python/cpython/pull/31701/commits/ade0b2adb83c5e6a1c5d2306bb8c373bd794afbc
https://github.com/python/cpython/tree/ade0b2adb83c5e6a1c5d2306bb8c373bd794afbc
Add a NEWS entryhttps://github.com/python/cpython/pull/31701/commits/71eb4e15d314a0885b7add448b7fd5d85d7199cb
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
71eb4e1https://github.com/python/cpython/pull/31701/commits/71eb4e15d314a0885b7add448b7fd5d85d7199cb
https://github.com/python/cpython/tree/71eb4e15d314a0885b7add448b7fd5d85d7199cb
Make State instances pickable with the old text protocolhttps://github.com/python/cpython/pull/31701/commits/1419e0d95803e9c890ed6b93fc60a79a0584e117
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
1419e0dhttps://github.com/python/cpython/pull/31701/commits/1419e0d95803e9c890ed6b93fc60a79a0584e117
https://github.com/python/cpython/tree/1419e0d95803e9c890ed6b93fc60a79a0584e117
Add restoration of spawning_popenhttps://github.com/python/cpython/pull/31701/commits/1e5363173be9103e0e45d9fcdc88350b49c0db94
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
1e53631https://github.com/python/cpython/pull/31701/commits/1e5363173be9103e0e45d9fcdc88350b49c0db94
https://github.com/python/cpython/tree/1e5363173be9103e0e45d9fcdc88350b49c0db94
Revert "Update popen_spawn_posix.py"https://github.com/python/cpython/pull/31701/commits/56f0bb8d9891609c433a33eb240691e72ddc828c
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
56f0bb8https://github.com/python/cpython/pull/31701/commits/56f0bb8d9891609c433a33eb240691e72ddc828c
https://github.com/python/cpython/tree/56f0bb8d9891609c433a33eb240691e72ddc828c
Revert "Update popen_forkserver.py"https://github.com/python/cpython/pull/31701/commits/9f761088c709e5a46986e97e247f06d1e89ceeec
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
9f76108https://github.com/python/cpython/pull/31701/commits/9f761088c709e5a46986e97e247f06d1e89ceeec
https://github.com/python/cpython/tree/9f761088c709e5a46986e97e247f06d1e89ceeec
Revert "Update popen_fork.py"https://github.com/python/cpython/pull/31701/commits/5c7719d7bd10042be562b6e2c8d8d6f6b226baa7
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
5c7719dhttps://github.com/python/cpython/pull/31701/commits/5c7719d7bd10042be562b6e2c8d8d6f6b226baa7
https://github.com/python/cpython/tree/5c7719d7bd10042be562b6e2c8d8d6f6b226baa7
Revert "Update popen_spawn_win32.py"https://github.com/python/cpython/pull/31701/commits/24b53f1421d9a81e8fa5ef0a29c150bcb6161c98
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
24b53f1https://github.com/python/cpython/pull/31701/commits/24b53f1421d9a81e8fa5ef0a29c150bcb6161c98
https://github.com/python/cpython/tree/24b53f1421d9a81e8fa5ef0a29c150bcb6161c98
Revert "Update managers.py"https://github.com/python/cpython/pull/31701/commits/04eac3ce5dcf50f3ec24272fad64afa91dbb4353
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
04eac3chttps://github.com/python/cpython/pull/31701/commits/04eac3ce5dcf50f3ec24272fad64afa91dbb4353
https://github.com/python/cpython/tree/04eac3ce5dcf50f3ec24272fad64afa91dbb4353
Revert "Update popen_spawn_win32.py"https://github.com/python/cpython/pull/31701/commits/9638a367f59fcd5ba5b6fc44d62b10f6b15313a4
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
9638a36https://github.com/python/cpython/pull/31701/commits/9638a367f59fcd5ba5b6fc44d62b10f6b15313a4
https://github.com/python/cpython/tree/9638a367f59fcd5ba5b6fc44d62b10f6b15313a4
Revert "Update popen_forkserver.py"https://github.com/python/cpython/pull/31701/commits/242d0270e19d5e01493ad67cb4d64f142c8b9c45
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
242d027https://github.com/python/cpython/pull/31701/commits/242d0270e19d5e01493ad67cb4d64f142c8b9c45
https://github.com/python/cpython/tree/242d0270e19d5e01493ad67cb4d64f142c8b9c45
Revert "Update popen_fork.py"https://github.com/python/cpython/pull/31701/commits/dbbbe1b0dd80c5a74b51627d1a5db629623967cc
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
dbbbe1bhttps://github.com/python/cpython/pull/31701/commits/dbbbe1b0dd80c5a74b51627d1a5db629623967cc
https://github.com/python/cpython/tree/dbbbe1b0dd80c5a74b51627d1a5db629623967cc
Revert "Update popen_spawn_posix.py"https://github.com/python/cpython/pull/31701/commits/88056fe4676e0504ebb4a170426f88657de4cbbb
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
88056fehttps://github.com/python/cpython/pull/31701/commits/88056fe4676e0504ebb4a170426f88657de4cbbb
https://github.com/python/cpython/tree/88056fe4676e0504ebb4a170426f88657de4cbbb
Use a simpler implementation of serialisability based on __getstate__/__setstate__https://github.com/python/cpython/pull/31701/commits/f055d118f24089513c4f0ca700ab6c45674d7287
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
f055d11https://github.com/python/cpython/pull/31701/commits/f055d118f24089513c4f0ca700ab6c45674d7287
https://github.com/python/cpython/tree/f055d118f24089513c4f0ca700ab6c45674d7287
Restore finalizer attribute nameshttps://github.com/python/cpython/pull/31701/commits/3c6f5dabe14a2bd320d9a8e2fd672bc0724bb2b4
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
3c6f5dahttps://github.com/python/cpython/pull/31701/commits/3c6f5dabe14a2bd320d9a8e2fd672bc0724bb2b4
https://github.com/python/cpython/tree/3c6f5dabe14a2bd320d9a8e2fd672bc0724bb2b4
Move __getstate__/__setstate__ to the right Popen classeshttps://github.com/python/cpython/pull/31701/commits/fe89f2daf7ab99aa26f0fafe1472ebecca2ceda2
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
fe89f2dhttps://github.com/python/cpython/pull/31701/commits/fe89f2daf7ab99aa26f0fafe1472ebecca2ceda2
https://github.com/python/cpython/tree/fe89f2daf7ab99aa26f0fafe1472ebecca2ceda2
Remove an empty line introduced by mistake in the last commithttps://github.com/python/cpython/pull/31701/commits/c2ab61e80c26bf86fb801e50e38cc115d17997d3
https://github.com/geryogam
geryogamhttps://github.com/python/cpython/commits?author=geryogam
c2ab61ehttps://github.com/python/cpython/pull/31701/commits/c2ab61e80c26bf86fb801e50e38cc115d17997d3
https://github.com/python/cpython/tree/c2ab61e80c26bf86fb801e50e38cc115d17997d3
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.