| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ebf0445a-7556-5317-9430-5074f480f647 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E12C:FC316:22E7D66:2E0ADF1:696B10DA |
| html-safe-nonce | 1df8ff783cbe731f4cd7e994493b623094a6ef9eaf9791144442664d2c39d1b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTJDOkZDMzE2OjIyRTdENjY6MkUwQURGMTo2OTZCMTBEQSIsInZpc2l0b3JfaWQiOiIyMzA0NDU4MjM2MjE2Njc2NTcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ced4806fe658794c70bd705b3ec62973a782d9324f3d3b8bdf6f9bf61f67aeab |
| hovercard-subject-tag | pull_request:115000090 |
| 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/1066/files |
| twitter:image | https://avatars.githubusercontent.com/u/659726?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/659726?s=400&v=4 |
| og:image:alt | Improve the context manager test.support.temp_cwd() to not remove the temporary
directory, if a forked child terminates.
https://bugs.python.org/issue30028 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/1066/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F1066%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| 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 |
| 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%2F1066%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/1066/files |
| Reload | https://github.com/python/cpython/pull/1066/files |
| Reload | https://github.com/python/cpython/pull/1066/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/1066/files |
|
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 page | https://github.com/python/cpython/pull/1066/files |
|
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 |
| 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 |
| gpshead | https://github.com/gpshead |
| python:master | https://github.com/python/cpython/tree/master |
| akruis:tempcwd_fork_fix | https://github.com/akruis/cpython/tree/tempcwd_fork_fix |
|
Conversation
27
| https://github.com/python/cpython/pull/1066 |
|
Commits
8
| https://github.com/python/cpython/pull/1066/commits |
|
Checks
0
| https://github.com/python/cpython/pull/1066/checks |
|
Files changed
| https://github.com/python/cpython/pull/1066/files |
| Please reload this page | https://github.com/python/cpython/pull/1066/files |
|
bpo-30028: make test.support.temp_cwd() fork-safe
| https://github.com/python/cpython/pull/1066/files#top |
|
Show all changes
8 commits
| https://github.com/python/cpython/pull/1066/files |
|
22e032a
bpo-30028: make test.support.temp_cwd() fork-safe
Apr 9, 2017
| https://github.com/python/cpython/pull/1066/commits/22e032a2ec8180a1a88784bf89fdd1398972a4ea |
|
7b96cf7
Update test_regrtest.py
Apr 10, 2017
| https://github.com/python/cpython/pull/1066/commits/7b96cf72703eab2932158cbb3ec1dc0757e60134 |
|
9ca9665
bpo-30028: Add comments, move the test to test_support.py
Apr 10, 2017
| https://github.com/python/cpython/pull/1066/commits/9ca966554cab0decb4b555701148fef5be2b3875 |
|
1a0364d
bpo-30028: Run the fork test as an external script.
Apr 10, 2017
| https://github.com/python/cpython/pull/1066/commits/1a0364d4bf0427df69f0e560664ab80e7389ac86 |
|
0f480d9
bpo-30028: replace assert by if ...: raise AssertionError
Apr 15, 2017
| https://github.com/python/cpython/pull/1066/commits/0f480d95bffc511e4f73221ab5127394aa3a6ad9 |
|
8cebac8
bpo-30028: improve the test case
Apr 22, 2017
| https://github.com/python/cpython/pull/1066/commits/8cebac881d4689f2f7ed8e2dfda823298d8da4f9 |
|
1b78826
Merge branch 'master' into tempcwd_fork_fix
serhiy-storchaka Feb 21, 2018
| https://github.com/python/cpython/pull/1066/commits/1b78826864b704825564d5d1456233c590553937 |
|
ee34a5b
bpo-30028: Add name to Misc/ACKS
akruis Feb 22, 2018
| https://github.com/python/cpython/pull/1066/commits/ee34a5b025742c0ac188e82bdc6fb6c90699ac50 |
|
Clear filters
| https://github.com/python/cpython/pull/1066/files |
| Please reload this page | https://github.com/python/cpython/pull/1066/files |
| Please reload this page | https://github.com/python/cpython/pull/1066/files |
|
__init__.py
| https://github.com/python/cpython/pull/1066/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d |
|
test_support.py
| https://github.com/python/cpython/pull/1066/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
|
ACKS
| https://github.com/python/cpython/pull/1066/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
| Lib/test/support/__init__.py | https://github.com/python/cpython/pull/1066/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d |
|
View file
| https://github.com/akruis/cpython/blob/ee34a5b025742c0ac188e82bdc6fb6c90699ac50/Lib/test/support/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1066/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1066/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d |
|
| https://github.com/python/cpython/pull/1066/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d |
| Lib/test/test_support.py | https://github.com/python/cpython/pull/1066/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
|
View file
| https://github.com/akruis/cpython/blob/ee34a5b025742c0ac188e82bdc6fb6c90699ac50/Lib/test/test_support.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1066/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1066/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
|
| https://github.com/python/cpython/pull/1066/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
|
| https://github.com/python/cpython/pull/1066/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
| vstinner | https://github.com/vstinner |
| Apr 21, 2017 | https://github.com/python/cpython/pull/1066/files#r112791681 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| bpo-30028 | https://bugs.python.org/issue?@action=redirect&bpo=30028 |
| Please reload this page | https://github.com/python/cpython/pull/1066/files |
| akruis | https://github.com/akruis |
| May 1, 2017 | https://github.com/python/cpython/pull/1066/files#r114187161 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/1066/files |
|
| https://github.com/python/cpython/pull/1066/files#diff-cb42fd26146ec61cb2242243494a9f314667a9a39153ad17e37465ff5a8a8000 |
| Misc/ACKS | https://github.com/python/cpython/pull/1066/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
View file
| https://github.com/akruis/cpython/blob/ee34a5b025742c0ac188e82bdc6fb6c90699ac50/Misc/ACKS |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/1066/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/1066/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
| https://github.com/python/cpython/pull/1066/files#diff-d1243956feb505c5459fc05387e194609efb5c350cee202942be47ed30d7d7d0 |
|
| 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 |