| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a05a0f75-82fb-2803-0b17-d40c3c6dc745 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 920E:139A69:2750491:360FCB6:696ACEE0 |
| html-safe-nonce | 0eaa65eb829560e0424a23187eff60cf57fa42a91287a8ae375fb67de4532a40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjBFOjEzOUE2OToyNzUwNDkxOjM2MEZDQjY6Njk2QUNFRTAiLCJ2aXNpdG9yX2lkIjoiMjYyOTYxNjQ3MDU5NjQzOTc3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e28416fcd7e452fc95315875e1c1b896ee2fa6b5dcc76ddd377092eeb40ab359 |
| hovercard-subject-tag | pull_request:765959578 |
| 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/29222/files |
| twitter:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| og:image:alt | The "freeze" tool has been part of the repo for a long time. However, it hasn't had any tests in the test suite to guard against regressions. We add such a test here. This is espec... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| 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 | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/29222/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29222%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%2F29222%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/29222/files |
| Reload | https://github.com/python/cpython/pull/29222/files |
| Reload | https://github.com/python/cpython/pull/29222/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/29222/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/29222/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 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:main | https://github.com/python/cpython/tree/main |
| ericsnowcurrently:freeze-tool-tests | https://github.com/ericsnowcurrently/cpython/tree/freeze-tool-tests |
|
Conversation
5
| https://github.com/python/cpython/pull/29222 |
|
Commits
25
| https://github.com/python/cpython/pull/29222/commits |
|
Checks
0
| https://github.com/python/cpython/pull/29222/checks |
|
Files changed
| https://github.com/python/cpython/pull/29222/files |
| Please reload this page | https://github.com/python/cpython/pull/29222/files |
|
bpo-45629: Add a test for the "freeze" tool.
| https://github.com/python/cpython/pull/29222/files#top |
|
Show all changes
25 commits
| https://github.com/python/cpython/pull/29222/files |
|
a2e4494
Ignore the tests outdir.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/a2e44948e289879ef6721ee78346a9802a458e51 |
|
9675b69
Add test helpers for the "freeze" tool.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/9675b6924a0854cd78c18a7937649a470109699b |
|
a34dca4
Add a test for the "freeze" tool.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/a34dca450d2f8f1249547828588f19327c5d9258 |
|
77f334d
Create the outdir.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/77f334ddac9a8490022a499ff8ca9c952c471364 |
|
561f8e1
Build in the source tree for tests.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/561f8e1b8f46359d49bd9d141d4b462f3045c596 |
|
bd54ddd
Copy the repo during tests.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/bd54ddd8bfcf2d63ed624fcb78c17f330f181eec |
|
5d0ec9e
Force the git pull.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/5d0ec9e4a396d2b0c0060a401bff3105c401f71c |
|
b879a3c
Show the commands.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/b879a3c950b600ca3e0a32d5845f1a7eba911ae2 |
|
5639939
Fix the relfile.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/56399397b172f74a9351f046c32b638f56d24331 |
|
172a259
Only print some of the run commands.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/172a259c794f7b95a436c79e43d9c9db04b6e9b7 |
|
875cbe3
Actually print the config var.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/875cbe33beb3eee308b4040bdc4bc9b089b9da97 |
|
8e4e52e
Fix a kwarg.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/8e4e52e423d0e42e541ca7c45c1987eddd171593 |
|
bf95b31
Fall back to Makefile if sysconfig fails.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/bf95b315df94c280983e2ddfa30f80ec11dfe583 |
|
a8e2cf0
Do not clean up first if there is not Makefile.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/a8e2cf0f2579ac70170fd40ffd97e7889841a896 |
|
fab3dad
Clean up get_config_var().
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/fab3dad0ce07b536f65b0c8a5965379c6c2d8d5f |
|
ef579ac
Do not duplicate configure args.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/ef579acce3349e7137b4f279f2dd0137310472e4 |
|
7338d60
Clean up the copied repo first.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/7338d60cce03cd3fc73a6b238e11f6fbfddf7128 |
|
f6a8755
Hide error text in get_config_var().
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/f6a8755336512b0de57f47ccde21e3abf827e6c2 |
|
b12477e
Skip the freeze tests if the tool is missing.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/b12477eba0801b697d0aaef03feac261525d86fe |
|
2dd674d
Be explicit about the -j option.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/2dd674df4b05c116f3fa1ba57c55b082a8238ebc |
|
cc68b86
Do not use the -C option with git.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/cc68b8643251b2cdd515eb1909df772cae796352 |
|
9b6aee8
Simplify.
ericsnowcurrently Oct 26, 2021
| https://github.com/python/cpython/pull/29222/commits/9b6aee843fc67834b2e7b1ba2530ef18f0229da2 |
|
4b315b0
Skip the test if running with "-u -cpu".
ericsnowcurrently Oct 27, 2021
| https://github.com/python/cpython/pull/29222/commits/4b315b0dd9b899574a52a09cb3057b30fb9175d2 |
|
aa56cfc
Do not run the test on buildbots.
ericsnowcurrently Oct 27, 2021
| https://github.com/python/cpython/pull/29222/commits/aa56cfc6462a23f8f173c788412e0b64d186b2d0 |
|
4c18103
Add test.support.skip_if_buildbot().
ericsnowcurrently Oct 27, 2021
| https://github.com/python/cpython/pull/29222/commits/4c1810312372515b5a51c87042c4aabd29559b99 |
|
Clear filters
| https://github.com/python/cpython/pull/29222/files |
| Please reload this page | https://github.com/python/cpython/pull/29222/files |
| Please reload this page | https://github.com/python/cpython/pull/29222/files |
|
.gitignore
| https://github.com/python/cpython/pull/29222/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
|
__init__.py
| https://github.com/python/cpython/pull/29222/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d |
|
test_freeze.py
| https://github.com/python/cpython/pull/29222/files#diff-d7e5f8bb28843991e46a183c3d22a3fcbb9f5b8127dad09a39c3f6be5b9cb72b |
|
freeze.py
| https://github.com/python/cpython/pull/29222/files#diff-222c0f02f2b4cf0b078197ae77b5852e926ba514ab858de0f0d174805a374dde |
| .gitignore | https://github.com/python/cpython/pull/29222/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/4c1810312372515b5a51c87042c4aabd29559b99/.gitignore |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29222/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29222/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
|
| https://github.com/python/cpython/pull/29222/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
| Lib/test/support/__init__.py | https://github.com/python/cpython/pull/29222/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/4c1810312372515b5a51c87042c4aabd29559b99/Lib/test/support/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29222/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29222/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d |
|
| https://github.com/python/cpython/pull/29222/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L262 |
| Lib/test/test_tools/test_freeze.py | https://github.com/python/cpython/pull/29222/files#diff-d7e5f8bb28843991e46a183c3d22a3fcbb9f5b8127dad09a39c3f6be5b9cb72b |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/4c1810312372515b5a51c87042c4aabd29559b99/Lib/test/test_tools/test_freeze.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29222/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L262 |
| Tools/freeze/test/freeze.py | https://github.com/python/cpython/pull/29222/files#diff-222c0f02f2b4cf0b078197ae77b5852e926ba514ab858de0f0d174805a374dde |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/4c1810312372515b5a51c87042c4aabd29559b99/Tools/freeze/test/freeze.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29222/{{ 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 |