| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b4e2126f-dcd2-ed76-dda1-56a6bcb1eb9e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C2B8:3FCCAB:738AC:9E265:6A566E84 |
| html-safe-nonce | 0a60a7b6d5613b41bc9b325db6cdec879af021f604749281fa9e1725b0183c65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkI4OjNGQ0NBQjo3MzhBQzo5RTI2NTo2QTU2NkU4NCIsInZpc2l0b3JfaWQiOiI0OTAyOTQ2NjY3NTg5MTY4NzcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bddbff9fc47ee245018ecf419e3a81ac11886cb06958534fa21b2b38483aadd5 |
| hovercard-subject-tag | pull_request:148130078 |
| 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/4085/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | This speeds up it to 20%.
https://bugs.python.org/issue28564 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5 |
| 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 | afc01ffdb045f4ff81c6122091366ade7b6166b7 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/4085/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4085%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/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/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/enterprise/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%2F4085%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/4085/files |
| Reload | https://github.com/python/cpython/pull/4085/files |
| Reload | https://github.com/python/cpython/pull/4085/files |
| Please reload this page | https://github.com/python/cpython/pull/4085/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/4085/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:master | https://github.com/python/cpython/tree/master |
| serhiy-storchaka:shutil-rmtree-scandir | https://github.com/serhiy-storchaka/cpython/tree/shutil-rmtree-scandir |
|
Conversation
9
| https://github.com/python/cpython/pull/4085 |
|
Commits
7
| https://github.com/python/cpython/pull/4085/commits |
|
Checks
0
| https://github.com/python/cpython/pull/4085/checks |
|
Files changed
| https://github.com/python/cpython/pull/4085/files |
| Please reload this page | https://github.com/python/cpython/pull/4085/files |
|
bpo-28564: Use os.scandir() in shutil.rmtree() on Unix.
| https://github.com/python/cpython/pull/4085/files#top |
|
Show all changes
7 commits
| https://github.com/python/cpython/pull/4085/files |
|
a013738
bpo-28564: Use os.scandir() in shutil.rmtree() on Unix.
serhiy-storchaka Oct 23, 2017
| https://github.com/python/cpython/pull/4085/commits/a0137380d59bb13355863faf0d5fe5fd87ec1d8c |
|
c1b5162
Fix a test on Windows.
serhiy-storchaka Oct 23, 2017
| https://github.com/python/cpython/pull/4085/commits/c1b5162314a22e53dd1e2210f8d02e22078f3fc9 |
|
8e7f83f
Merge branch 'master' into shutil-rmtree-unsafe-scandir
serhiy-storchaka Oct 24, 2017
| https://github.com/python/cpython/pull/4085/commits/8e7f83f8eae21bc64a2166f083c89d185f7259de |
|
b7d1a7a
Use os.scandir() in _rmtree_unsafe().
serhiy-storchaka Oct 24, 2017
| https://github.com/python/cpython/pull/4085/commits/b7d1a7a4e6b090129af2cdc0e72eda12d282247c |
|
af2995a
Add missed "continue".
serhiy-storchaka Oct 24, 2017
| https://github.com/python/cpython/pull/4085/commits/af2995a8435ea91c47cd172ffeec488eb4d1df55 |
|
496ff74
Document the change in the "Porting to Python 3.7" section.
serhiy-storchaka Oct 27, 2017
| https://github.com/python/cpython/pull/4085/commits/496ff74154a31b2c7316aa75f0c86bd19ce3a461 |
|
4c6d8e9
Update 2017-10-23-16-22-54.bpo-28564.Tx-l-I.rst
serhiy-storchaka Oct 27, 2017
| https://github.com/python/cpython/pull/4085/commits/4c6d8e9b3996ea12524533f582d2073c5feb2509 |
|
Clear filters
| https://github.com/python/cpython/pull/4085/files |
| Please reload this page | https://github.com/python/cpython/pull/4085/files |
| Please reload this page | https://github.com/python/cpython/pull/4085/files |
|
3.7.rst
| https://github.com/python/cpython/pull/4085/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
shutil.py
| https://github.com/python/cpython/pull/4085/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
test_shutil.py
| https://github.com/python/cpython/pull/4085/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
2017-10-23-16-22-54.bpo-28564.Tx-l-I.rst
| https://github.com/python/cpython/pull/4085/files#diff-1400c6c62372b5a860d768521b983f853348ec5aa66b6bf1e5ae9e98d28370a4 |
| Doc/whatsnew/3.7.rst | https://github.com/python/cpython/pull/4085/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/4c6d8e9b3996ea12524533f582d2073c5feb2509/Doc/whatsnew/3.7.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4085/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4085/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
| https://github.com/python/cpython/pull/4085/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
| https://github.com/python/cpython/pull/4085/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
|
| https://github.com/python/cpython/pull/4085/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52 |
| Lib/shutil.py | https://github.com/python/cpython/pull/4085/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/4c6d8e9b3996ea12524533f582d2073c5feb2509/Lib/shutil.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4085/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4085/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
| https://github.com/python/cpython/pull/4085/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
| pitrou | https://github.com/pitrou |
| Oct 24, 2017 | https://github.com/python/cpython/pull/4085/files#r146699477 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4085/files |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Oct 24, 2017 | https://github.com/python/cpython/pull/4085/files#r146704995 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4085/files |
| pitrou | https://github.com/pitrou |
| Oct 24, 2017 | https://github.com/python/cpython/pull/4085/files#r146706598 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4085/files |
| pitrou | https://github.com/pitrou |
| Oct 24, 2017 | https://github.com/python/cpython/pull/4085/files#r146706759 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4085/files |
|
| https://github.com/python/cpython/pull/4085/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
| https://github.com/python/cpython/pull/4085/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
| https://github.com/python/cpython/pull/4085/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
| https://github.com/python/cpython/pull/4085/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
| Lib/test/test_shutil.py | https://github.com/python/cpython/pull/4085/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/4c6d8e9b3996ea12524533f582d2073c5feb2509/Lib/test/test_shutil.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4085/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4085/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
| https://github.com/python/cpython/pull/4085/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
| Misc/NEWS.d/next/Library/2017-10-23-16-22-54.bpo-28564.Tx-l-I.rst | https://github.com/python/cpython/pull/4085/files#diff-1400c6c62372b5a860d768521b983f853348ec5aa66b6bf1e5ae9e98d28370a4 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/4c6d8e9b3996ea12524533f582d2073c5feb2509/Misc/NEWS.d/next/Library/2017-10-23-16-22-54.bpo-28564.Tx-l-I.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4085/{{ 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 |