| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a8d45faf-476f-8cb3-8cd2-04bc7fc4308d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 93B0:3C7D7F:144EAE8:1BF4FAF:696AA4FB |
| html-safe-nonce | 4ace952c2c1f36300ced6d8f65b18fd9f31ff23beb75bad641da3fa836e3b186 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0IwOjNDN0Q3RjoxNDRFQUU4OjFCRjRGQUY6Njk2QUE0RkIiLCJ2aXNpdG9yX2lkIjoiNDY4OTAxMjUzODM3ODcyNDYwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aa221b1915a707858ae5e3cacc6c94d039d1a30b006e8f29de1fbb83b1c2beb6 |
| hovercard-subject-tag | pull_request:793044249 |
| 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/29883/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 | Currently the main interpreter is allocated on the heap during runtime initialization. Here we are instead embedding it into _PyRuntimeState, which means it is statically allocated as part of the ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| 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 | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/29883/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29883%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%2F29883%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/29883/files |
| Reload | https://github.com/python/cpython/pull/29883/files |
| Reload | https://github.com/python/cpython/pull/29883/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/29883/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/29883/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:preallocate-main | https://github.com/ericsnowcurrently/cpython/tree/preallocate-main |
|
Conversation
68
| https://github.com/python/cpython/pull/29883 |
|
Commits
78
| https://github.com/python/cpython/pull/29883/commits |
|
Checks
0
| https://github.com/python/cpython/pull/29883/checks |
|
Files changed
| https://github.com/python/cpython/pull/29883/files |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
|
bpo-45953: Statically allocate the main interpreter (and initial thread state).
| https://github.com/python/cpython/pull/29883/files#top |
|
Show all changes
78 commits
| https://github.com/python/cpython/pull/29883/files |
|
5e6eda9
Return void from _PyEval_InitState().
ericsnowcurrently Nov 18, 2021
| https://github.com/python/cpython/pull/29883/commits/5e6eda95dc3ae242b645576d5e6288ada726e433 |
|
de12b98
Fix a memory leak.
ericsnowcurrently Nov 18, 2021
| https://github.com/python/cpython/pull/29883/commits/de12b988231c4839403d6c45357d9e0ae3710b39 |
|
035eff3
Move thread-related interpreter state into a sub-struct.
ericsnowcurrently Nov 17, 2021
| https://github.com/python/cpython/pull/29883/commits/035eff35781fa39f201a0b1239d6469cb28eafda |
|
1569a53
Factor out init_threadstate().
ericsnowcurrently Nov 18, 2021
| https://github.com/python/cpython/pull/29883/commits/1569a5384060dd89a5516afbb0b51eac94227104 |
|
518e3f3
Do not initialize a thread state if already initialized.
ericsnowcurrently Nov 18, 2021
| https://github.com/python/cpython/pull/29883/commits/518e3f3b4881d4b296e1c5bf6ca275bd0e7a075f |
|
9995a84
Avoid allocating the first thread state.
ericsnowcurrently Nov 18, 2021
| https://github.com/python/cpython/pull/29883/commits/9995a8458b149560dcff9ec252bf4527235c4f17 |
|
f22d0da
Factor out init_interpreter().
ericsnowcurrently Nov 18, 2021
| https://github.com/python/cpython/pull/29883/commits/f22d0da9105ba7917138c2f581511100c27cd209 |
|
cf39d57
Preallocate the main interpreter.
ericsnowcurrently Nov 18, 2021
| https://github.com/python/cpython/pull/29883/commits/cf39d57ed67470887f019019627ad5e750627ceb |
|
b840213
Add a note about expectations for init_interpreter().
ericsnowcurrently Dec 1, 2021
| https://github.com/python/cpython/pull/29883/commits/b840213179cfc893adcfc2bdd4fa4b9319d3af0c |
|
3bf69b0
Add a NEWS entry.
ericsnowcurrently Dec 1, 2021
| https://github.com/python/cpython/pull/29883/commits/3bf69b0b44865ba765cff36b786d33655967a57e |
|
4de466e
Add _PyInterpreterState_Main().
ericsnowcurrently Dec 1, 2021
| https://github.com/python/cpython/pull/29883/commits/4de466ec21ca475a8620ba9d5fd0d41363298375 |
|
9bb32a6
Fix a check for the main interpreter.
ericsnowcurrently Dec 2, 2021
| https://github.com/python/cpython/pull/29883/commits/9bb32a6cb953a5b3429c1c80fc8b8ff67408de27 |
|
385f298
Ensure no subinterpreters are created until after the main interprete…
ericsnowcurrently Dec 2, 2021
| https://github.com/python/cpython/pull/29883/commits/385f2987354c96113468543093f1bd9571d4de72 |
|
354997f
Make sure the interpreter is fully initialized.
ericsnowcurrently Dec 2, 2021
| https://github.com/python/cpython/pull/29883/commits/354997f7935ba6377183a87e36813e7c55d41db0 |
|
9bbf8a0
Use PyMem_RawCalloc() to allocate thread states.
ericsnowcurrently Dec 2, 2021
| https://github.com/python/cpython/pull/29883/commits/9bbf8a0d56262fbe0f31dc07f50d5674522542af |
|
8d1cf35
Make sure the thread state is fully initialized.
ericsnowcurrently Dec 2, 2021
| https://github.com/python/cpython/pull/29883/commits/8d1cf355e83df6339654cce51fdc62fcb71a4c3e |
|
188aed8
Clear the preallocated states when "deleted".
ericsnowcurrently Dec 2, 2021
| https://github.com/python/cpython/pull/29883/commits/188aed88c9820311d66e922f1d5f31b94bba9d83 |
|
e0da483
Statically initialize the "preallocated" states.
ericsnowcurrently Dec 2, 2021
| https://github.com/python/cpython/pull/29883/commits/e0da4838c4d645cdab5eb487a63407e262dce0a9 |
|
46c7767
Fix a typo.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/46c7767d3858fd80bb5fa36a5f785f9d9db13f18 |
|
7ca8d1c
Stop memset'ing the statically initialized _PyRuntime.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/7ca8d1c36967ac2a4fb679a1ccb822b8a7672998 |
|
ed6c273
Fix typos.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/ed6c273db7c0f11b922310e09d1b10733eabd3e0 |
|
29e1764
Only expose _PyThreadState_INIT in the internal API.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/29e1764cb279acb5dd182495a763d1b930486f30 |
|
1a83910
If needed, "statically" initialize the preallocated thread state.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/1a8391069e28dd2f4f7eedec6c3554e6c3e651cd |
|
8631805
Check if _preallocated is initialized when initializing from other.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/8631805c12a012decff481012a94a4e520c3c350 |
|
a0569bb
init_interpreter_from_other -> init_interpreter_static_data.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/a0569bbef34abc2c9883da10a9a2c8fc4ae984c4 |
|
4c3c0f9
"Statically" initialize the preallocated thread state.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/4c3c0f9193f6881430d6ef27d23490fd77d7f872 |
|
47bfa7e
Clear _PyRuntime during finalization.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/47bfa7e32f1a6312eb6f7a6d2b8cbd481798c633 |
|
dd69ffa
Track if interpreter or thread state has been initialized.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/dd69ffa72b4e756a6c6a2b5aa6451e57a69bebf3 |
|
ba75803
Zero-out states during re-init instead of fini.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/ba758033293fb687cb3369e2986c9336973498e2 |
|
eef3194
Use Py_uintptr_t instead of ssize_t.
ericsnowcurrently Dec 3, 2021
| https://github.com/python/cpython/pull/29883/commits/eef31948a2a9cb3c77b8180bf0bf9ad9480c426d |
|
8703297
Add Py*State._initialized.
ericsnowcurrently Dec 7, 2021
| https://github.com/python/cpython/pull/29883/commits/87032970a869202039781c2200312d882e2ddf0b |
|
d1eddad
Factor out init_threadstate().
ericsnowcurrently Dec 7, 2021
| https://github.com/python/cpython/pull/29883/commits/d1eddadf0f89e8375e413ed3c975feb9326de4fc |
|
8a8150c
Factor out free_threadstate().
ericsnowcurrently Dec 7, 2021
| https://github.com/python/cpython/pull/29883/commits/8a8150c1607762f46492d225bea319df66c411e2 |
|
7a37237
Factor out init_interpreter().
ericsnowcurrently Dec 7, 2021
| https://github.com/python/cpython/pull/29883/commits/7a37237d4c55bd70cefd2e530a950afb0f0e6ea2 |
|
b2073ac
Factor out free_interpreter().
ericsnowcurrently Dec 7, 2021
| https://github.com/python/cpython/pull/29883/commits/b2073acb84f91538643ce31c6911930d196937f1 |
|
21a522d
Factor out init_runtime().
ericsnowcurrently Dec 7, 2021
| https://github.com/python/cpython/pull/29883/commits/21a522de22d782e720bbced0a07fbe3c8fec050d |
|
7b376d4
Factor out _PyRuntimeState_reset().
ericsnowcurrently Dec 7, 2021
| https://github.com/python/cpython/pull/29883/commits/7b376d4d51ef93369bd44d86b5dee36018150a2e |
|
562ee42
Merge branch 'main' into preallocate-main
ericsnowcurrently Dec 8, 2021
| https://github.com/python/cpython/pull/29883/commits/562ee42a0d0f66dd49e44d2d953d28e644a6a66e |
|
ed8f5cd
Add _PyInterpreterState_Main().
ericsnowcurrently Dec 1, 2021
| https://github.com/python/cpython/pull/29883/commits/ed8f5cd68cea776a29d16d9cb473358b1df5436d |
|
6da97b7
Drop an outdated comment.
ericsnowcurrently Dec 8, 2021
| https://github.com/python/cpython/pull/29883/commits/6da97b79901ac49da6db72eea39291422b285092 |
|
cf24942
Fix a check for the main interpreter.
ericsnowcurrently Dec 2, 2021
| https://github.com/python/cpython/pull/29883/commits/cf2494240c7e7903c383db7e00e3da9e40cc587c |
|
fac6af6
Merge branch 'main' into preallocate-main
ericsnowcurrently Dec 8, 2021
| https://github.com/python/cpython/pull/29883/commits/fac6af6e3dddaad098161e3ff9d4c332e19e322b |
|
4aa2073
Merge branch 'main' into preallocate-main
ericsnowcurrently Dec 8, 2021
| https://github.com/python/cpython/pull/29883/commits/4aa20738fefe771b21839d197ef3eebea1c22210 |
|
f135168
Merge branch 'main' into preallocate-main
ericsnowcurrently Dec 14, 2021
| https://github.com/python/cpython/pull/29883/commits/f13516885ae63ba7f1b0dcb064ce3e570d34a0b8 |
|
2b4ba04
Move *_reset() out of the Include/.
ericsnowcurrently Dec 14, 2021
| https://github.com/python/cpython/pull/29883/commits/2b4ba049446b8f39384b9824555b65fcdd94f8d6 |
|
24d1de2
Pass the parent context to init_*_static_data().
ericsnowcurrently Dec 14, 2021
| https://github.com/python/cpython/pull/29883/commits/24d1de2d08ce63e2058e14b937ab9458278f2835 |
|
84ae7db
Drop reset_*() and init_*_static_data().
ericsnowcurrently Dec 14, 2021
| https://github.com/python/cpython/pull/29883/commits/84ae7db2a7341e1891d2bdfd1a523ec185993a6d |
|
e9de30c
Drop _Py_global_objects_reset().
ericsnowcurrently Dec 14, 2021
| https://github.com/python/cpython/pull/29883/commits/e9de30cd6027ba9d6c3d43cc344192a575afa184 |
|
51a32ce
Drop _preallocated.initialized.
ericsnowcurrently Dec 16, 2021
| https://github.com/python/cpython/pull/29883/commits/51a32cedcfe4df41d577e062794eaf91341c848c |
|
7104518
Drop _preallocated_used.
ericsnowcurrently Dec 16, 2021
| https://github.com/python/cpython/pull/29883/commits/71045184b95285bd9acb1d7f8c9762339d480b08 |
|
f7a8389
Drop init of PyThreadState._preallocated for now.
ericsnowcurrently Dec 16, 2021
| https://github.com/python/cpython/pull/29883/commits/f7a83895aad0236d0bcf1f8cd056ee5bc8a385c6 |
|
18080a1
Note what could be pre-allocated.
ericsnowcurrently Dec 16, 2021
| https://github.com/python/cpython/pull/29883/commits/18080a1ca3f8af91b45520b74bbeea3e42990a89 |
|
0457119
Add Py*State._static.
ericsnowcurrently Dec 16, 2021
| https://github.com/python/cpython/pull/29883/commits/0457119fa28a5980d3c075d42ea0f6c0db1f5bdc |
|
923ca7a
Avoid an empty struct.
ericsnowcurrently Dec 17, 2021
| https://github.com/python/cpython/pull/29883/commits/923ca7a4e8ae669f75a4ce8cccca1fbf0c160905 |
|
99c2ae1
Drop PyInterpreterState._preallocated.initialized.
ericsnowcurrently Jan 4, 2022
| https://github.com/python/cpython/pull/29883/commits/99c2ae1eb50498104a062ef34bf39986471b971d |
|
3bc73ee
Drop an outdated comment.
ericsnowcurrently Jan 4, 2022
| https://github.com/python/cpython/pull/29883/commits/3bc73ee9e7e763aa24466bc60648b8243d5a4937 |
|
c1808ae
Drop outdated comments.
ericsnowcurrently Jan 4, 2022
| https://github.com/python/cpython/pull/29883/commits/c1808ae466dbab19225b36f611fd25cd11e3c07f |
|
7b98e59
Clarify what remains to be pre-allocated for _PyRuntimeState.
ericsnowcurrently Jan 4, 2022
| https://github.com/python/cpython/pull/29883/commits/7b98e59987384e24860462313891e47b19df2a92 |
|
0383eae
Explain what _preallocated is for.
ericsnowcurrently Jan 4, 2022
| https://github.com/python/cpython/pull/29883/commits/0383eae0ffab7d6db65352ef47a62ef29c4157b0 |
|
c959db0
Clarify why some data isn't pre-allocated.
ericsnowcurrently Jan 4, 2022
| https://github.com/python/cpython/pull/29883/commits/c959db0fc91f14704b0a26c621bd942e6e8b6fdb |
|
5b34b42
Fold _PyThreadState_INIT into _PyInterpreterState_INIT.
ericsnowcurrently Jan 10, 2022
| https://github.com/python/cpython/pull/29883/commits/5b34b4295181069e2f2bb152f157e004cd11dad8 |
|
837bfe6
Fold _PyInterpreterState_INIT into _PyRuntimeState_INIT.
ericsnowcurrently Jan 10, 2022
| https://github.com/python/cpython/pull/29883/commits/837bfe61d68d7bf7ca32d8c7f9619512950581c1 |
|
ebefa35
Drop PyThreadState._preallocated.
ericsnowcurrently Jan 10, 2022
| https://github.com/python/cpython/pull/29883/commits/ebefa3501b2d434549136ab11dd302c896613560 |
|
eb7a080
tstate -> initial_thread.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/eb7a0800cd451422841472d93c6110c77cb87571 |
|
1ef4a39
Mirror the top-level structure in _preallocated.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/1ef4a3938c17021c7825c52e475504992cb5334e |
|
771e574
Merge branch 'main' into preallocate-main
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/771e57499829fe272d1e916a64a90ab7637e2237 |
|
b5c43f1
Clarify some comments.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/b5c43f1634700294a343278f6ecb88438d7984d5 |
|
bfc3906
Fold in _PyRuntimeState._preallocated.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/bfc390680800c829311cfabd228320b789581658 |
|
9b25c8b
Make "initial" const.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/9b25c8bce26c122f48a880d81d1a7517f07dc934 |
|
e776c31
Fold in PyInterpreterState._preallocated.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/e776c31f037b797d6bb05125bfb0524f163c43d6 |
|
c6bda1f
Move the initial thread to the bottom of PyInterpreterState.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/c6bda1f1f05fbdd1d56141bb91cfb176d5cde7d8 |
|
8ab6261
Split up _PyRuntimeState_INIT for less nesting and clutter.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/8ab6261f83aa74828f8e637f29bcf99934766b3d |
|
ff8de28
Fix a comment.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/ff8de281417f8b23dbfed98203345b0be7221d46 |
|
b28afb3
Move the main interpreter to the bottom of _PyRuntimeState.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/b28afb3b5e1d216e74e49874127db1f6bac32974 |
|
0d30300
Clarify some comments.
ericsnowcurrently Jan 11, 2022
| https://github.com/python/cpython/pull/29883/commits/0d30300727cbfbd30e3d18b7035aa2120b5dec25 |
|
e193794
Add a comment for the _static field.
ericsnowcurrently Jan 12, 2022
| https://github.com/python/cpython/pull/29883/commits/e1937949c8a09972c3e40aa5728788fd2293cfda |
|
e9f1262
Move the comments about pre-allocated data down.
ericsnowcurrently Jan 12, 2022
| https://github.com/python/cpython/pull/29883/commits/e9f1262d98307e1158f76d9c4215552f8b9f622c |
|
a6a6471
Fix a typo.
ericsnowcurrently Jan 12, 2022
| https://github.com/python/cpython/pull/29883/commits/a6a647167f389ffa107d40de70704929efab2bb2 |
|
Clear filters
| https://github.com/python/cpython/pull/29883/files |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
|
pystate.h
| https://github.com/python/cpython/pull/29883/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f |
|
pycore_global_objects.h
| https://github.com/python/cpython/pull/29883/files#diff-4107cf9e9dd24a85192b33aa7941ed35f5650c08a0200450b6e4ad19b81dbcf9 |
|
pycore_interp.h
| https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
pycore_runtime.h
| https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
|
2021-12-01-11-54-27.bpo-45953.2znR0E.rst
| https://github.com/python/cpython/pull/29883/files#diff-9e056da60286dda3238500364b65e307ecb07103ef15b4080a1f257d0d61651c |
|
signalmodule.c
| https://github.com/python/cpython/pull/29883/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30 |
|
ceval.c
| https://github.com/python/cpython/pull/29883/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
pystate.c
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L311 |
| Include/cpython/pystate.h | https://github.com/python/cpython/pull/29883/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/a6a647167f389ffa107d40de70704929efab2bb2/Include/cpython/pystate.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29883/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29883/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f |
|
| https://github.com/python/cpython/pull/29883/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f |
|
| https://github.com/python/cpython/pull/29883/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f |
|
| https://github.com/python/cpython/pull/29883/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f |
|
| https://github.com/python/cpython/pull/29883/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f |
| arhadthedev | https://github.com/arhadthedev |
| Dec 3, 2021 | https://github.com/python/cpython/pull/29883/files#r762127939 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Dec 3, 2021 | https://github.com/python/cpython/pull/29883/files#r762320445 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
| arhadthedev | https://github.com/arhadthedev |
| Dec 4, 2021 | https://github.com/python/cpython/pull/29883/files#r762397197 |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
|
| https://github.com/python/cpython/pull/29883/files#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L316 |
| Include/internal/pycore_global_objects.h | https://github.com/python/cpython/pull/29883/files#diff-4107cf9e9dd24a85192b33aa7941ed35f5650c08a0200450b6e4ad19b81dbcf9 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/a6a647167f389ffa107d40de70704929efab2bb2/Include/internal/pycore_global_objects.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29883/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29883/files#diff-4107cf9e9dd24a85192b33aa7941ed35f5650c08a0200450b6e4ad19b81dbcf9 |
|
| https://github.com/python/cpython/pull/29883/files#diff-4107cf9e9dd24a85192b33aa7941ed35f5650c08a0200450b6e4ad19b81dbcf9 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L317 |
| Include/internal/pycore_interp.h | https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/a6a647167f389ffa107d40de70704929efab2bb2/Include/internal/pycore_interp.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29883/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
| https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
| https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
| https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
| https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
| https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
| https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
| https://github.com/python/cpython/pull/29883/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L320 |
| Include/internal/pycore_runtime.h | https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/a6a647167f389ffa107d40de70704929efab2bb2/Include/internal/pycore_runtime.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29883/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
|
| https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
|
| https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
|
| https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
|
| https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
|
| https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
|
| https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
| markshannon | https://github.com/markshannon |
| Jan 10, 2022 | https://github.com/python/cpython/pull/29883/files#r781430019 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Jan 10, 2022 | https://github.com/python/cpython/pull/29883/files#r781538004 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Jan 10, 2022 | https://github.com/python/cpython/pull/29883/files#r781539820 |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29883%2Ffiles |
| Please reload this page | https://github.com/python/cpython/pull/29883/files |
|
| https://github.com/python/cpython/pull/29883/files#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
| Misc/NEWS.d/next/Core and Builtins/2021-12-01-11-54-27.bpo-45953.2znR0E.rst | https://github.com/python/cpython/pull/29883/files#diff-9e056da60286dda3238500364b65e307ecb07103ef15b4080a1f257d0d61651c |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/a6a647167f389ffa107d40de70704929efab2bb2/Misc/NEWS.d/next/Core%20and%20Builtins/2021-12-01-11-54-27.bpo-45953.2znR0E.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29883/{{ revealButtonHref }} |
| Modules/signalmodule.c | https://github.com/python/cpython/pull/29883/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/a6a647167f389ffa107d40de70704929efab2bb2/Modules/signalmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29883/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29883/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30 |
|
| https://github.com/python/cpython/pull/29883/files#diff-99fb04b208835118fdca0d54b76a00c450da3eaff09d2b53e8a03d63bbe88e30 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L222 |
| Python/ceval.c | https://github.com/python/cpython/pull/29883/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/a6a647167f389ffa107d40de70704929efab2bb2/Python/ceval.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29883/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29883/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/pull/29883/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L311 |
| Python/pystate.c | https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/a6a647167f389ffa107d40de70704929efab2bb2/Python/pystate.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/29883/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| https://github.com/python/cpython/pull/29883/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
| 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 |