| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8e02a921-1904-6a29-3dbc-a1224f149078 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A11A:C4B79:832888:B675AB:6A4C96CE |
| html-safe-nonce | a06fd43027631a64c906dffff0a813dfd67bd07382669a49442c922d4c903801 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTFBOkM0Qjc5OjgzMjg4ODpCNjc1QUI6NkE0Qzk2Q0UiLCJ2aXNpdG9yX2lkIjoiNjcxNTYyNjc1Mjg5MzAzMjE0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 85e032db00a9f36b7deeefefed3d4275a34c15839121522430e892f25e964468 |
| hovercard-subject-tag | pull_request:163028603 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/5195/files |
| twitter:image | https://avatars.githubusercontent.com/u/1922815?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1922815?s=400&v=4 |
| og:image:alt | This PR un-breaks "frozen" executables (e.g., those produced by PyInstaller or cx_Freeze that (a) run on Unix, and (b) use multiprocessing, and (c) use the spawn or forkserver start metho... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7a2dede45637df6b92ddcfe2a557e67d4b5854ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/5195/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5195%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F5195%2Ffiles |
|
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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/5195/files |
| Reload | https://github.com/python/cpython/pull/5195/files |
| Reload | https://github.com/python/cpython/pull/5195/files |
| Please reload this page | https://github.com/python/cpython/pull/5195/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/5195/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| bbayles | https://github.com/bbayles |
| python:master | https://github.com/python/cpython/tree/master |
| bbayles:unix-freezesupport-3.7 | https://github.com/bbayles/cpython/tree/unix-freezesupport-3.7 |
|
Conversation
8
| https://github.com/python/cpython/pull/5195 |
|
Commits
15
| https://github.com/python/cpython/pull/5195/commits |
|
Checks
0
| https://github.com/python/cpython/pull/5195/checks |
|
Files changed
| https://github.com/python/cpython/pull/5195/files |
| Please reload this page | https://github.com/python/cpython/pull/5195/files |
|
bpo-32146: multiprocessing freeze_support needed outside win32
| https://github.com/python/cpython/pull/5195/files#top |
|
Show all changes
15 commits
| https://github.com/python/cpython/pull/5195/files |
|
7b90728
bpo-32146: freeze_support can apply to non-Windows platforms also
bbayles Jan 11, 2018
| https://github.com/python/cpython/pull/5195/commits/7b907281ea1a90391e52b391f336fac33fd042cf |
|
b0d30bc
bpo-32146: Provisional fix for non-Windows executables (spawn)
bbayles Jan 13, 2018
| https://github.com/python/cpython/pull/5195/commits/b0d30bc48c1447356031742b44d95eaa1db17af3 |
|
8baf4e4
bpo-32146: Provisional fix for non-Windows executables (forkserver)
bbayles Jan 14, 2018
| https://github.com/python/cpython/pull/5195/commits/8baf4e4fc686c8e35d4e702bb78812453fe35077 |
|
64456d9
bpo-32146: Move commandline checks to separate functions
bbayles Jan 14, 2018
| https://github.com/python/cpython/pull/5195/commits/64456d9f7be5b0824bea9d7f36fe359042c733ac |
|
748c2f1
bpo-32146: Add Misc/NEWS entry for freeze_support enhancements
bbayles Jan 14, 2018
| https://github.com/python/cpython/pull/5195/commits/748c2f1cc56c235b2ac0ee68286b87a3aa5abd9d |
|
3a0964a
bpo-32146: Use dummy --multiprocessing- command line arguments
bbayles Jan 14, 2018
| https://github.com/python/cpython/pull/5195/commits/3a0964ae759f181371d4520e0984cda71beea05c |
|
7b49c00
bpo-32146: Only use special command line arguments when frozen
bbayles Jan 15, 2018
| https://github.com/python/cpython/pull/5195/commits/7b49c0078945df9bc492c61792e5c7a97c42e7c3 |
|
26a6313
bpo-32146: Factor out command line manipulation for testing
bbayles Jan 15, 2018
| https://github.com/python/cpython/pull/5195/commits/26a63138cd40d5d447f57fdadbf4927b532f0e12 |
|
afdd553
bpo-32146: Add note to docs about freeze_support on Unix
bbayles Jan 15, 2018
| https://github.com/python/cpython/pull/5195/commits/afdd5535fb92e19d3a77a8c6bc475b695aa0d4b2 |
|
d72742d
bpo-32146: Add missing backtick
bbayles Jan 15, 2018
| https://github.com/python/cpython/pull/5195/commits/d72742dea5d50032eaf636193e5956cd07873d82 |
|
97e6a9d
bpo-32146: Fix and add test for extra preload modules
bbayles Jan 16, 2018
| https://github.com/python/cpython/pull/5195/commits/97e6a9d748902353cfb4e730c471ff05810ca160 |
|
f0ca86b
bpo-32146: Fix up comments
bbayles Jan 29, 2018
| https://github.com/python/cpython/pull/5195/commits/f0ca86b5fb59d3cd84dd2f612103823c90f12fca |
|
fce2afc
Merge branch 'master' into unix-freezesupport-3.7
bbayles Jul 13, 2018
| https://github.com/python/cpython/pull/5195/commits/fce2afccfdb1146759014723483641f1379cb8ac |
|
5a8e3c8
Merge remote-tracking branch 'upstream/master' into unix-freezesuppor…
bbayles Jul 15, 2018
| https://github.com/python/cpython/pull/5195/commits/5a8e3c8b866e9aba62b41341933ea1e7e291f8eb |
|
23e9c64
Merge branch 'master' into unix-freezesupport-3.7
bbayles Jan 11, 2019
| https://github.com/python/cpython/pull/5195/commits/23e9c64d6570a558fe99c417d28c7413af1522ee |
|
Clear filters
| https://github.com/python/cpython/pull/5195/files |
| Please reload this page | https://github.com/python/cpython/pull/5195/files |
| Please reload this page | https://github.com/python/cpython/pull/5195/files |
|
multiprocessing.rst
| https://github.com/python/cpython/pull/5195/files#diff-2cf07acf4f2d547e93e35c6a4ba2ee818e991b54e88da4a904ee0a49acb99eb3 |
|
context.py
| https://github.com/python/cpython/pull/5195/files#diff-68368c7bc63449f34e9b6e6f13715852f23061c0bf6497b1a9691c0860943f49 |
|
forkserver.py
| https://github.com/python/cpython/pull/5195/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
semaphore_tracker.py
| https://github.com/python/cpython/pull/5195/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
spawn.py
| https://github.com/python/cpython/pull/5195/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
|
_test_multiprocessing.py
| https://github.com/python/cpython/pull/5195/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
2018-01-14-16-34-26.bpo-32146.6pFDbn.rst
| https://github.com/python/cpython/pull/5195/files#diff-c36104af8ba57bb106f044d1b6c3497b69f6de7ba544268521e7274696ea422e |
| Doc/library/multiprocessing.rst | https://github.com/python/cpython/pull/5195/files#diff-2cf07acf4f2d547e93e35c6a4ba2ee818e991b54e88da4a904ee0a49acb99eb3 |
|
View file
| https://github.com/bbayles/cpython/blob/23e9c64d6570a558fe99c417d28c7413af1522ee/Doc/library/multiprocessing.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5195/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5195/files#diff-2cf07acf4f2d547e93e35c6a4ba2ee818e991b54e88da4a904ee0a49acb99eb3 |
|
| https://github.com/python/cpython/pull/5195/files#diff-2cf07acf4f2d547e93e35c6a4ba2ee818e991b54e88da4a904ee0a49acb99eb3 |
|
| https://github.com/python/cpython/pull/5195/files#diff-2cf07acf4f2d547e93e35c6a4ba2ee818e991b54e88da4a904ee0a49acb99eb3 |
| Lib/multiprocessing/context.py | https://github.com/python/cpython/pull/5195/files#diff-68368c7bc63449f34e9b6e6f13715852f23061c0bf6497b1a9691c0860943f49 |
|
View file
| https://github.com/bbayles/cpython/blob/23e9c64d6570a558fe99c417d28c7413af1522ee/Lib/multiprocessing/context.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5195/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5195/files#diff-68368c7bc63449f34e9b6e6f13715852f23061c0bf6497b1a9691c0860943f49 |
|
| https://github.com/python/cpython/pull/5195/files#diff-68368c7bc63449f34e9b6e6f13715852f23061c0bf6497b1a9691c0860943f49 |
| Lib/multiprocessing/forkserver.py | https://github.com/python/cpython/pull/5195/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
View file
| https://github.com/bbayles/cpython/blob/23e9c64d6570a558fe99c417d28c7413af1522ee/Lib/multiprocessing/forkserver.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5195/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5195/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
|
| https://github.com/python/cpython/pull/5195/files#diff-8d5185659419cdf73e93f59cf3941dfe1c523d9e1310e349b4d4afe3b63cb66d |
| Lib/multiprocessing/semaphore_tracker.py | https://github.com/python/cpython/pull/5195/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
View file
| https://github.com/bbayles/cpython/blob/23e9c64d6570a558fe99c417d28c7413af1522ee/Lib/multiprocessing/semaphore_tracker.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5195/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5195/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
|
| https://github.com/python/cpython/pull/5195/files#diff-86209dc00f04cec9a8a9628a37b8d279cbed67f3f61dc142da6a6c7c7d74e729 |
| Lib/multiprocessing/spawn.py | https://github.com/python/cpython/pull/5195/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
|
View file
| https://github.com/bbayles/cpython/blob/23e9c64d6570a558fe99c417d28c7413af1522ee/Lib/multiprocessing/spawn.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5195/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5195/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
|
| https://github.com/python/cpython/pull/5195/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
|
| https://github.com/python/cpython/pull/5195/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
|
| https://github.com/python/cpython/pull/5195/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
| bbayles | https://github.com/bbayles |
| Jan 15, 2018 | https://github.com/python/cpython/pull/5195/files#r161603852 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| semaphore_tracker.SemaphoreTracker.ensure_running | https://github.com/python/cpython/blob/cb064fc2321ce8673fe365e9ef60445a27657f54/Lib/multiprocessing/semaphore_tracker.py#L63-L70 |
| semaphore_tracker.main | https://github.com/python/cpython/blob/cb064fc2321ce8673fe365e9ef60445a27657f54/Lib/multiprocessing/semaphore_tracker.py#L108 |
| Please reload this page | https://github.com/python/cpython/pull/5195/files |
|
| https://github.com/python/cpython/pull/5195/files#diff-3612bea8104783e1f08635ddc3244cdde48e5b3b1339d4357abe5b78807834bc |
| Lib/test/_test_multiprocessing.py | https://github.com/python/cpython/pull/5195/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
View file
| https://github.com/bbayles/cpython/blob/23e9c64d6570a558fe99c417d28c7413af1522ee/Lib/test/_test_multiprocessing.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5195/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/5195/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
| https://github.com/python/cpython/pull/5195/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
| https://github.com/python/cpython/pull/5195/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
|
| https://github.com/python/cpython/pull/5195/files#diff-c3db62f7c1928499afd71830c22c8bb8f56843a4533cecf69137973d73c489fc |
| Misc/NEWS.d/next/Library/2018-01-14-16-34-26.bpo-32146.6pFDbn.rst | https://github.com/python/cpython/pull/5195/files#diff-c36104af8ba57bb106f044d1b6c3497b69f6de7ba544268521e7274696ea422e |
|
View file
| https://github.com/bbayles/cpython/blob/23e9c64d6570a558fe99c417d28c7413af1522ee/Misc/NEWS.d/next/Library/2018-01-14-16-34-26.bpo-32146.6pFDbn.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/5195/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |