| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6fe1705b-d3b5-f24b-77ff-286ff26d476e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B80E:12EEDE:288963:36F26B:6969A907 |
| html-safe-nonce | b2436b51276ca29a5a6d714c53a7a797bfae9876c7fe4be50e42df59d31f0cec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODBFOjEyRUVERToyODg5NjM6MzZGMjZCOjY5NjlBOTA3IiwidmlzaXRvcl9pZCI6IjQ3NjUwMTg2NTQ3NjU1OTA3OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0c14eab1dfc9190dcbbb98c31cdc6eb640098af780e36b6d0ddccdf38534d22b |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/29883/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/968756a1724f9557f97b97c83cb463006e1e656e685ed13d7a40d8f96ae5c751/python/cpython/pull/29883 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/968756a1724f9557f97b97c83cb463006e1e656e685ed13d7a40d8f96ae5c751/python/cpython/pull/29883 |
| 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:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ericsnowcurrently |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/29883#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29883 |
| 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 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/29883 |
| Reload | https://github.com/python/cpython/pull/29883 |
| Reload | https://github.com/python/cpython/pull/29883 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
|
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 |
|
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 |
| Jump to bottom | https://github.com/python/cpython/pull/29883#issue-comment-box |
| 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 |
|
bpo-45953: Statically allocate the main interpreter (and initial thread state).
| https://github.com/python/cpython/pull/29883#top |
| 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 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Dec 1, 2021 | https://github.com/python/cpython/pull/29883#issue-1068793126 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| https://bugs.python.org/issue45953 | https://bugs.python.org/issue45953 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| December 1, 2021 10:54 | https://github.com/python/cpython/pull/29883#commits-pushed-5e6eda9 |
|
| https://github.com/ericsnowcurrently |
| Return void from _PyEval_InitState(). | https://github.com/python/cpython/pull/29883/commits/5e6eda95dc3ae242b645576d5e6288ada726e433 |
| 5e6eda9 | https://github.com/python/cpython/pull/29883/commits/5e6eda95dc3ae242b645576d5e6288ada726e433 |
|
| https://github.com/ericsnowcurrently |
| Fix a memory leak. | https://github.com/python/cpython/pull/29883/commits/de12b988231c4839403d6c45357d9e0ae3710b39 |
| de12b98 | https://github.com/python/cpython/pull/29883/commits/de12b988231c4839403d6c45357d9e0ae3710b39 |
|
| https://github.com/ericsnowcurrently |
| Move thread-related interpreter state into a sub-struct. | https://github.com/python/cpython/pull/29883/commits/035eff35781fa39f201a0b1239d6469cb28eafda |
| 035eff3 | https://github.com/python/cpython/pull/29883/commits/035eff35781fa39f201a0b1239d6469cb28eafda |
|
| https://github.com/ericsnowcurrently |
| Factor out init_threadstate(). | https://github.com/python/cpython/pull/29883/commits/1569a5384060dd89a5516afbb0b51eac94227104 |
| 1569a53 | https://github.com/python/cpython/pull/29883/commits/1569a5384060dd89a5516afbb0b51eac94227104 |
|
| https://github.com/ericsnowcurrently |
| Do not initialize a thread state if already initialized. | https://github.com/python/cpython/pull/29883/commits/518e3f3b4881d4b296e1c5bf6ca275bd0e7a075f |
| 518e3f3 | https://github.com/python/cpython/pull/29883/commits/518e3f3b4881d4b296e1c5bf6ca275bd0e7a075f |
|
| https://github.com/ericsnowcurrently |
| Avoid allocating the first thread state. | https://github.com/python/cpython/pull/29883/commits/9995a8458b149560dcff9ec252bf4527235c4f17 |
| 9995a84 | https://github.com/python/cpython/pull/29883/commits/9995a8458b149560dcff9ec252bf4527235c4f17 |
|
| https://github.com/ericsnowcurrently |
| Factor out init_interpreter(). | https://github.com/python/cpython/pull/29883/commits/f22d0da9105ba7917138c2f581511100c27cd209 |
| f22d0da | https://github.com/python/cpython/pull/29883/commits/f22d0da9105ba7917138c2f581511100c27cd209 |
|
| https://github.com/ericsnowcurrently |
| Preallocate the main interpreter. | https://github.com/python/cpython/pull/29883/commits/cf39d57ed67470887f019019627ad5e750627ceb |
| cf39d57 | https://github.com/python/cpython/pull/29883/commits/cf39d57ed67470887f019019627ad5e750627ceb |
|
| https://github.com/ericsnowcurrently |
| Add a note about expectations for init_interpreter(). | https://github.com/python/cpython/pull/29883/commits/b840213179cfc893adcfc2bdd4fa4b9319d3af0c |
| b840213 | https://github.com/python/cpython/pull/29883/commits/b840213179cfc893adcfc2bdd4fa4b9319d3af0c |
|
| https://github.com/ericsnowcurrently |
| Add a NEWS entry. | https://github.com/python/cpython/pull/29883/commits/3bf69b0b44865ba765cff36b786d33655967a57e |
| 3bf69b0 | https://github.com/python/cpython/pull/29883/commits/3bf69b0b44865ba765cff36b786d33655967a57e |
|
| https://github.com/ericsnowcurrently |
| Add _PyInterpreterState_Main(). | https://github.com/python/cpython/pull/29883/commits/4de466ec21ca475a8620ba9d5fd0d41363298375 |
| 4de466e | https://github.com/python/cpython/pull/29883/commits/4de466ec21ca475a8620ba9d5fd0d41363298375 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| markshannon | https://github.com/markshannon |
| code owner | https://github.com/python/cpython/blob/c2bb29ce9ae4adb6a8123285ad3585907cd4cc73/.github/CODEOWNERS#L20 |
| December 1, 2021 19:30 | https://github.com/python/cpython/pull/29883#event-5701338375 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Dec 1, 2021 | https://github.com/python/cpython/pull/29883#event-5701338570 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Dec 1, 2021 | https://github.com/python/cpython/pull/29883#event-5701338699 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Dec 1, 2021
| https://github.com/python/cpython/pull/29883#ref-issue-956158701 |
|
Use member non-pointer declarations in Py*State structs instead of heap-allocated pointers.
faster-cpython/ideas#79
| https://github.com/faster-cpython/ideas/issues/79 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
Dec 2, 2021
| https://github.com/python/cpython/pull/29883#pullrequestreview-821737370 |
|
View reviewed changes
| https://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375 |
| Python/ceval.c | https://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
| markshannon | https://github.com/markshannon |
| Dec 2, 2021 | https://github.com/python/cpython/pull/29883#discussion_r761262216 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Dec 2, 2021 | https://github.com/python/cpython/pull/29883#discussion_r761546523 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
Dec 2, 2021
| https://github.com/python/cpython/pull/29883#pullrequestreview-821741891 |
|
View reviewed changes
| https://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375 |
| Modules/posixmodule.c | https://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
Dec 2, 2021
| https://github.com/python/cpython/pull/29883#pullrequestreview-821742135 |
|
View reviewed changes
| https://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375 |
| Modules/posixmodule.c | https://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
Dec 2, 2021
| https://github.com/python/cpython/pull/29883#pullrequestreview-821753035 |
|
View reviewed changes
| https://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375 |
| markshannon | https://github.com/markshannon |
| https://github.com/python/cpython/pull/29883#pullrequestreview-821753035 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Dec 2, 2021 | https://github.com/python/cpython/pull/29883#event-5707126459 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Dec 2, 2021 | https://github.com/python/cpython/pull/29883#issuecomment-984798934 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
| Dec 2, 2021 | https://github.com/python/cpython/pull/29883#event-5707126502 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| December 2, 2021 16:43 | https://github.com/python/cpython/pull/29883#commits-pushed-9bb32a6 |
|
| https://github.com/ericsnowcurrently |
| Fix a check for the main interpreter. | https://github.com/python/cpython/pull/29883/commits/9bb32a6cb953a5b3429c1c80fc8b8ff67408de27 |
| 9bb32a6 | https://github.com/python/cpython/pull/29883/commits/9bb32a6cb953a5b3429c1c80fc8b8ff67408de27 |
|
| https://github.com/ericsnowcurrently |
| Ensure no subinterpreters are created until after the main interprete… | https://github.com/python/cpython/pull/29883/commits/385f2987354c96113468543093f1bd9571d4de72 |
| 385f298 | https://github.com/python/cpython/pull/29883/commits/385f2987354c96113468543093f1bd9571d4de72 |
|
| https://github.com/ericsnowcurrently |
| Make sure the interpreter is fully initialized. | https://github.com/python/cpython/pull/29883/commits/354997f7935ba6377183a87e36813e7c55d41db0 |
| 354997f | https://github.com/python/cpython/pull/29883/commits/354997f7935ba6377183a87e36813e7c55d41db0 |
|
| https://github.com/ericsnowcurrently |
| Use PyMem_RawCalloc() to allocate thread states. | https://github.com/python/cpython/pull/29883/commits/9bbf8a0d56262fbe0f31dc07f50d5674522542af |
| 9bbf8a0 | https://github.com/python/cpython/pull/29883/commits/9bbf8a0d56262fbe0f31dc07f50d5674522542af |
|
| https://github.com/ericsnowcurrently |
| Make sure the thread state is fully initialized. | https://github.com/python/cpython/pull/29883/commits/8d1cf355e83df6339654cce51fdc62fcb71a4c3e |
| 8d1cf35 | https://github.com/python/cpython/pull/29883/commits/8d1cf355e83df6339654cce51fdc62fcb71a4c3e |
|
| https://github.com/ericsnowcurrently |
| Clear the preallocated states when "deleted". | https://github.com/python/cpython/pull/29883/commits/188aed88c9820311d66e922f1d5f31b94bba9d83 |
| 188aed8 | https://github.com/python/cpython/pull/29883/commits/188aed88c9820311d66e922f1d5f31b94bba9d83 |
|
| https://github.com/ericsnowcurrently |
| Statically initialize the "preallocated" states. | https://github.com/python/cpython/pull/29883/commits/e0da4838c4d645cdab5eb487a63407e262dce0a9 |
| e0da483 | https://github.com/python/cpython/pull/29883/commits/e0da4838c4d645cdab5eb487a63407e262dce0a9 |
|
| https://github.com/ericsnowcurrently |
| Fix a typo. | https://github.com/python/cpython/pull/29883/commits/46c7767d3858fd80bb5fa36a5f785f9d9db13f18 |
| 46c7767 | https://github.com/python/cpython/pull/29883/commits/46c7767d3858fd80bb5fa36a5f785f9d9db13f18 |
| https://github.com/markshannon |
| markshannon | https://github.com/markshannon |
|
Jan 10, 2022
| https://github.com/python/cpython/pull/29883#pullrequestreview-848164336 |
|
View reviewed changes
| https://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb |
| Include/cpython/pystate.h | https://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| Include/internal/pycore_interp.h | https://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| Include/internal/pycore_interp.h | https://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
| markshannon | https://github.com/markshannon |
| Jan 10, 2022 | https://github.com/python/cpython/pull/29883#discussion_r781427492 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Jan 11, 2022 | https://github.com/python/cpython/pull/29883#discussion_r782540310 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| Include/internal/pycore_runtime.h | https://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| Include/internal/pycore_runtime.h | https://github.com/python/cpython/pull/29883/files/923ca7a4e8ae669f75a4ce8cccca1fbf0c160905#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| Include/internal/pycore_runtime.h | https://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862 |
| markshannon | https://github.com/markshannon |
| Jan 10, 2022 | https://github.com/python/cpython/pull/29883#discussion_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 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Jan 10, 2022 | https://github.com/python/cpython/pull/29883#discussion_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 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Jan 10, 2022 | https://github.com/python/cpython/pull/29883#discussion_r781539820 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29883 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| January 10, 2022 13:55 | https://github.com/python/cpython/pull/29883#commits-pushed-5b34b42 |
|
| https://github.com/ericsnowcurrently |
| Fold _PyThreadState_INIT into _PyInterpreterState_INIT. | https://github.com/python/cpython/pull/29883/commits/5b34b4295181069e2f2bb152f157e004cd11dad8 |
| 5b34b42 | https://github.com/python/cpython/pull/29883/commits/5b34b4295181069e2f2bb152f157e004cd11dad8 |
|
| https://github.com/ericsnowcurrently |
| Fold _PyInterpreterState_INIT into _PyRuntimeState_INIT. | https://github.com/python/cpython/pull/29883/commits/837bfe61d68d7bf7ca32d8c7f9619512950581c1 |
| 837bfe6 | https://github.com/python/cpython/pull/29883/commits/837bfe61d68d7bf7ca32d8c7f9619512950581c1 |
|
| https://github.com/ericsnowcurrently |
| Drop PyThreadState._preallocated. | https://github.com/python/cpython/pull/29883/commits/ebefa3501b2d434549136ab11dd302c896613560 |
| ebefa35 | https://github.com/python/cpython/pull/29883/commits/ebefa3501b2d434549136ab11dd302c896613560 |
|
| https://github.com/ericsnowcurrently |
| tstate -> initial_thread. | https://github.com/python/cpython/pull/29883/commits/eb7a0800cd451422841472d93c6110c77cb87571 |
| eb7a080 | https://github.com/python/cpython/pull/29883/commits/eb7a0800cd451422841472d93c6110c77cb87571 |
|
| https://github.com/ericsnowcurrently |
| Mirror the top-level structure in _preallocated. | https://github.com/python/cpython/pull/29883/commits/1ef4a3938c17021c7825c52e475504992cb5334e |
| 1ef4a39 | https://github.com/python/cpython/pull/29883/commits/1ef4a3938c17021c7825c52e475504992cb5334e |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| markshannon | https://github.com/markshannon |
| January 11, 2022 00:16 | https://github.com/python/cpython/pull/29883#event-5869645293 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| January 11, 2022 09:41 | https://github.com/python/cpython/pull/29883#commits-pushed-771e574 |
|
| https://github.com/ericsnowcurrently |
| Merge branch 'main' into preallocate-main | https://github.com/python/cpython/pull/29883/commits/771e57499829fe272d1e916a64a90ab7637e2237 |
| 771e574 | https://github.com/python/cpython/pull/29883/commits/771e57499829fe272d1e916a64a90ab7637e2237 |
|
| https://github.com/ericsnowcurrently |
| Clarify some comments. | https://github.com/python/cpython/pull/29883/commits/b5c43f1634700294a343278f6ecb88438d7984d5 |
| b5c43f1 | https://github.com/python/cpython/pull/29883/commits/b5c43f1634700294a343278f6ecb88438d7984d5 |
|
| https://github.com/ericsnowcurrently |
| Fold in _PyRuntimeState._preallocated. | https://github.com/python/cpython/pull/29883/commits/bfc390680800c829311cfabd228320b789581658 |
| bfc3906 | https://github.com/python/cpython/pull/29883/commits/bfc390680800c829311cfabd228320b789581658 |
|
| https://github.com/ericsnowcurrently |
| Make "initial" const. | https://github.com/python/cpython/pull/29883/commits/9b25c8bce26c122f48a880d81d1a7517f07dc934 |
| 9b25c8b | https://github.com/python/cpython/pull/29883/commits/9b25c8bce26c122f48a880d81d1a7517f07dc934 |
|
| https://github.com/ericsnowcurrently |
| Fold in PyInterpreterState._preallocated. | https://github.com/python/cpython/pull/29883/commits/e776c31f037b797d6bb05125bfb0524f163c43d6 |
| e776c31 | https://github.com/python/cpython/pull/29883/commits/e776c31f037b797d6bb05125bfb0524f163c43d6 |
|
| https://github.com/ericsnowcurrently |
| Move the initial thread to the bottom of PyInterpreterState. | https://github.com/python/cpython/pull/29883/commits/c6bda1f1f05fbdd1d56141bb91cfb176d5cde7d8 |
| c6bda1f | https://github.com/python/cpython/pull/29883/commits/c6bda1f1f05fbdd1d56141bb91cfb176d5cde7d8 |
|
| https://github.com/ericsnowcurrently |
| Split up _PyRuntimeState_INIT for less nesting and clutter. | https://github.com/python/cpython/pull/29883/commits/8ab6261f83aa74828f8e637f29bcf99934766b3d |
| 8ab6261 | https://github.com/python/cpython/pull/29883/commits/8ab6261f83aa74828f8e637f29bcf99934766b3d |
|
| https://github.com/ericsnowcurrently |
| Fix a comment. | https://github.com/python/cpython/pull/29883/commits/ff8de281417f8b23dbfed98203345b0be7221d46 |
| ff8de28 | https://github.com/python/cpython/pull/29883/commits/ff8de281417f8b23dbfed98203345b0be7221d46 |
|
| https://github.com/ericsnowcurrently |
| Move the main interpreter to the bottom of _PyRuntimeState. | https://github.com/python/cpython/pull/29883/commits/b28afb3b5e1d216e74e49874127db1f6bac32974 |
| b28afb3 | https://github.com/python/cpython/pull/29883/commits/b28afb3b5e1d216e74e49874127db1f6bac32974 |
|
| https://github.com/ericsnowcurrently |
| Clarify some comments. | https://github.com/python/cpython/pull/29883/commits/0d30300727cbfbd30e3d18b7035aa2120b5dec25 |
| 0d30300 | https://github.com/python/cpython/pull/29883/commits/0d30300727cbfbd30e3d18b7035aa2120b5dec25 |
|
| https://github.com/ericsnowcurrently |
| Add a comment for the _static field. | https://github.com/python/cpython/pull/29883/commits/e1937949c8a09972c3e40aa5728788fd2293cfda |
| e193794 | https://github.com/python/cpython/pull/29883/commits/e1937949c8a09972c3e40aa5728788fd2293cfda |
|
| https://github.com/ericsnowcurrently |
| Move the comments about pre-allocated data down. | https://github.com/python/cpython/pull/29883/commits/e9f1262d98307e1158f76d9c4215552f8b9f622c |
| e9f1262 | https://github.com/python/cpython/pull/29883/commits/e9f1262d98307e1158f76d9c4215552f8b9f622c |
|
| https://github.com/ericsnowcurrently |
| Fix a typo. | https://github.com/python/cpython/pull/29883/commits/a6a647167f389ffa107d40de70704929efab2bb2 |
| a6a6471 | https://github.com/python/cpython/pull/29883/commits/a6a647167f389ffa107d40de70704929efab2bb2 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Jan 12, 2022 | https://github.com/python/cpython/pull/29883#issuecomment-1011524032 |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Jan 12, 2022 | https://github.com/python/cpython/pull/29883#issuecomment-1011532625 |
| … | https://github.com/python/cpython/pull/29883 |
| #29883 (comment) | https://github.com/python/cpython/pull/29883#issuecomment-1011524032 |
| https://github.com/notifications/unsubscribe-auth/AAWCWMXNEYDUC6YIRLTJAEDUVYBIXANCNFSM5JFJMYAA | https://github.com/notifications/unsubscribe-auth/AAWCWMXNEYDUC6YIRLTJAEDUVYBIXANCNFSM5JFJMYAA |
| https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 | https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 |
| https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub | https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| ed57b36 | https://github.com/python/cpython/commit/ed57b36c32e521162dbb97199e64a340d3bff827 |
| Jan 12, 2022 | https://github.com/python/cpython/pull/29883#event-5883640208 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting change review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22 |
| Jan 12, 2022 | https://github.com/python/cpython/pull/29883#event-5883640359 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| January 12, 2022 23:28 | https://github.com/python/cpython/pull/29883#event-5883640767 |
| tacaswell | https://github.com/tacaswell |
|
Jan 25, 2022
| https://github.com/python/cpython/pull/29883#ref-commit-9b849ca |
|
| https://github.com/tacaswell |
| FIX: Account form stdbool.h being included in Python.h | https://github.com/tacaswell/typed_ast/commit/9b849ca14d335538b1c9919ca83f95dbaa8182fb |
| 9b849ca | https://github.com/tacaswell/typed_ast/commit/9b849ca14d335538b1c9919ca83f95dbaa8182fb |
| python/cpython#29883 | https://github.com/python/cpython/pull/29883 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
|
Jan 25, 2022
| https://github.com/python/cpython/pull/29883#ref-pullrequest-1113444551 |
|
FIX: Account form stdbool.h being included in Python.h
python/typed_ast#184
| https://github.com/python/typed_ast/pull/184 |
| srittau | https://github.com/srittau |
|
Jan 25, 2022
| https://github.com/python/cpython/pull/29883#ref-commit-36110cf |
|
| https://github.com/tacaswell |
| FIX: Account form stdbool.h being included in Python.h ( | https://github.com/python/typed_ast/commit/36110cfef2f6bf2442454cd453f56fa2d567b9e6 |
| #184 | https://github.com/python/typed_ast/pull/184 |
| ) | https://github.com/python/typed_ast/commit/36110cfef2f6bf2442454cd453f56fa2d567b9e6 |
| 36110cf | https://github.com/python/typed_ast/commit/36110cfef2f6bf2442454cd453f56fa2d567b9e6 |
| python/cpython#29883 | https://github.com/python/cpython/pull/29883 |
| https://github.com/ericsnowcurrently |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
|
Nov 8, 2022
| https://github.com/python/cpython/pull/29883#ref-issue-1199070335 |
|
Statically allocate interpreter states as much as possible.
#90111
| https://github.com/python/cpython/issues/90111 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29883 |
|
| https://github.com/arhadthedev |
|
arhadthedev
| https://github.com/arhadthedev |
|
| https://github.com/python/cpython/pull/29883/files/ba758033293fb687cb3369e2986c9336973498e2 |
|
| https://github.com/markshannon |
|
markshannon
| https://github.com/markshannon |
|
| https://github.com/markshannon |
|
markshannon
| https://github.com/markshannon |
| Please reload this page | https://github.com/python/cpython/pull/29883 |
|
| https://github.com/ericsnowcurrently |
|
| https://github.com/bedevere-bot |
|
| https://github.com/markshannon |
|
| https://github.com/gvanrossum |
|
| https://github.com/arhadthedev |
|
| https://github.com/the-knights-who-say-ni |
|
| 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 |