René's URL Explorer Experiment


Title: bpo-45953: Statically allocate the main interpreter (and initial thread state). by ericsnowcurrently · Pull Request #29883 · python/cpython · GitHub

Open Graph Title: bpo-45953: Statically allocate the main interpreter (and initial thread state). by ericsnowcurrently · Pull Request #29883 · python/cpython

X Title: bpo-45953: Statically allocate the main interpreter (and initial thread state). by ericsnowcurrently · Pull Request #29883 · python/cpython

Description: 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 ...

Open Graph Description: 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 ...

X Description: 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 ...

Opengraph URL: https://github.com/python/cpython/pull/29883

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:6fe1705b-d3b5-f24b-77ff-286ff26d476e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB80E:12EEDE:288963:36F26B:6969A907
html-safe-nonceb2436b51276ca29a5a6d714c53a7a797bfae9876c7fe4be50e42df59d31f0cec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODBFOjEyRUVERToyODg5NjM6MzZGMjZCOjY5NjlBOTA3IiwidmlzaXRvcl9pZCI6IjQ3NjUwMTg2NTQ3NjU1OTA3OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac0c14eab1dfc9190dcbbb98c31cdc6eb640098af780e36b6d0ddccdf38534d22b
hovercard-subject-tagpull_request:793044249
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/29883/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/968756a1724f9557f97b97c83cb463006e1e656e685ed13d7a40d8f96ae5c751/python/cpython/pull/29883
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/968756a1724f9557f97b97c83cb463006e1e656e685ed13d7a40d8f96ae5c751/python/cpython/pull/29883
og:image:altCurrently 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/python/cpython/pull/29883
Reloadhttps://github.com/python/cpython/pull/29883
Reloadhttps://github.com/python/cpython/pull/29883
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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 pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/29883#issue-comment-box
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:preallocate-mainhttps://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
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:mainhttps://github.com/python/cpython/tree/main
ericsnowcurrently:preallocate-mainhttps://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 pagehttps://github.com/python/cpython/pull/29883
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Dec 1, 2021https://github.com/python/cpython/pull/29883#issue-1068793126
Please reload this pagehttps://github.com/python/cpython/pull/29883
https://bugs.python.org/issue45953https://bugs.python.org/issue45953
Please reload this pagehttps://github.com/python/cpython/pull/29883
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
December 1, 2021 10:54https://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
5e6eda9https://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
de12b98https://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
035eff3https://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
1569a53https://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
518e3f3https://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
9995a84https://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
f22d0dahttps://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
cf39d57https://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
b840213https://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
3bf69b0https://github.com/python/cpython/pull/29883/commits/3bf69b0b44865ba765cff36b786d33655967a57e
https://github.com/ericsnowcurrently
Add _PyInterpreterState_Main().https://github.com/python/cpython/pull/29883/commits/4de466ec21ca475a8620ba9d5fd0d41363298375
4de466ehttps://github.com/python/cpython/pull/29883/commits/4de466ec21ca475a8620ba9d5fd0d41363298375
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/c2bb29ce9ae4adb6a8123285ad3585907cd4cc73/.github/CODEOWNERS#L20
December 1, 2021 19:30https://github.com/python/cpython/pull/29883#event-5701338375
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://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, 2021https://github.com/python/cpython/pull/29883#event-5701338570
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 1, 2021https://github.com/python/cpython/pull/29883#event-5701338699
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://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
markshannonhttps://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.chttps://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
markshannonhttps://github.com/markshannon
Dec 2, 2021https://github.com/python/cpython/pull/29883#discussion_r761262216
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29883
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Dec 2, 2021https://github.com/python/cpython/pull/29883#discussion_r761546523
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29883
https://github.com/markshannon
markshannonhttps://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.chttps://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791
Please reload this pagehttps://github.com/python/cpython/pull/29883
https://github.com/markshannon
markshannonhttps://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.chttps://github.com/python/cpython/pull/29883/files/4de466ec21ca475a8620ba9d5fd0d41363298375#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791
Please reload this pagehttps://github.com/python/cpython/pull/29883
https://github.com/markshannon
markshannonhttps://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
markshannonhttps://github.com/markshannon
https://github.com/python/cpython/pull/29883#pullrequestreview-821753035
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29883
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Dec 2, 2021https://github.com/python/cpython/pull/29883#event-5707126459
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 2, 2021https://github.com/python/cpython/pull/29883#issuecomment-984798934
Please reload this pagehttps://github.com/python/cpython/pull/29883
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Dec 2, 2021https://github.com/python/cpython/pull/29883#event-5707126502
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
December 2, 2021 16:43https://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
9bb32a6https://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
385f298https://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
354997fhttps://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
9bbf8a0https://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
8d1cf35https://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
188aed8https://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
e0da483https://github.com/python/cpython/pull/29883/commits/e0da4838c4d645cdab5eb487a63407e262dce0a9
https://github.com/ericsnowcurrently
Fix a typo.https://github.com/python/cpython/pull/29883/commits/46c7767d3858fd80bb5fa36a5f785f9d9db13f18
46c7767https://github.com/python/cpython/pull/29883/commits/46c7767d3858fd80bb5fa36a5f785f9d9db13f18
https://github.com/markshannon
markshannonhttps://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.hhttps://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-fefbbf791abe2a1b6d9cab39778d388ebb9135eeefbd734e463aac75d1979e7f
Please reload this pagehttps://github.com/python/cpython/pull/29883
Include/internal/pycore_interp.hhttps://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0
Please reload this pagehttps://github.com/python/cpython/pull/29883
Include/internal/pycore_interp.hhttps://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0
markshannonhttps://github.com/markshannon
Jan 10, 2022https://github.com/python/cpython/pull/29883#discussion_r781427492
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29883
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jan 11, 2022https://github.com/python/cpython/pull/29883#discussion_r782540310
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29883
Include/internal/pycore_runtime.hhttps://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862
Please reload this pagehttps://github.com/python/cpython/pull/29883
Include/internal/pycore_runtime.hhttps://github.com/python/cpython/pull/29883/files/923ca7a4e8ae669f75a4ce8cccca1fbf0c160905#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862
Please reload this pagehttps://github.com/python/cpython/pull/29883
Include/internal/pycore_runtime.hhttps://github.com/python/cpython/pull/29883/files/c959db0fc91f14704b0a26c621bd942e6e8b6fdb#diff-004269ce4e6ea86068fb11d8ad53fc4321b693e991e9f847b43d0ecf97482862
markshannonhttps://github.com/markshannon
Jan 10, 2022https://github.com/python/cpython/pull/29883#discussion_r781430019
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29883
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jan 10, 2022https://github.com/python/cpython/pull/29883#discussion_r781538004
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29883
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jan 10, 2022https://github.com/python/cpython/pull/29883#discussion_r781539820
Please reload this pagehttps://github.com/python/cpython/pull/29883
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/29883
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29883
Please reload this pagehttps://github.com/python/cpython/pull/29883
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
January 10, 2022 13:55https://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
5b34b42https://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
837bfe6https://github.com/python/cpython/pull/29883/commits/837bfe61d68d7bf7ca32d8c7f9619512950581c1
https://github.com/ericsnowcurrently
Drop PyThreadState._preallocated.https://github.com/python/cpython/pull/29883/commits/ebefa3501b2d434549136ab11dd302c896613560
ebefa35https://github.com/python/cpython/pull/29883/commits/ebefa3501b2d434549136ab11dd302c896613560
https://github.com/ericsnowcurrently
tstate -> initial_thread.https://github.com/python/cpython/pull/29883/commits/eb7a0800cd451422841472d93c6110c77cb87571
eb7a080https://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
1ef4a39https://github.com/python/cpython/pull/29883/commits/1ef4a3938c17021c7825c52e475504992cb5334e
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
markshannonhttps://github.com/markshannon
January 11, 2022 00:16https://github.com/python/cpython/pull/29883#event-5869645293
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
January 11, 2022 09:41https://github.com/python/cpython/pull/29883#commits-pushed-771e574
https://github.com/ericsnowcurrently
Merge branch 'main' into preallocate-mainhttps://github.com/python/cpython/pull/29883/commits/771e57499829fe272d1e916a64a90ab7637e2237
771e574https://github.com/python/cpython/pull/29883/commits/771e57499829fe272d1e916a64a90ab7637e2237
https://github.com/ericsnowcurrently
Clarify some comments.https://github.com/python/cpython/pull/29883/commits/b5c43f1634700294a343278f6ecb88438d7984d5
b5c43f1https://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
bfc3906https://github.com/python/cpython/pull/29883/commits/bfc390680800c829311cfabd228320b789581658
https://github.com/ericsnowcurrently
Make "initial" const.https://github.com/python/cpython/pull/29883/commits/9b25c8bce26c122f48a880d81d1a7517f07dc934
9b25c8bhttps://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
e776c31https://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
c6bda1fhttps://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
8ab6261https://github.com/python/cpython/pull/29883/commits/8ab6261f83aa74828f8e637f29bcf99934766b3d
https://github.com/ericsnowcurrently
Fix a comment.https://github.com/python/cpython/pull/29883/commits/ff8de281417f8b23dbfed98203345b0be7221d46
ff8de28https://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
b28afb3https://github.com/python/cpython/pull/29883/commits/b28afb3b5e1d216e74e49874127db1f6bac32974
https://github.com/ericsnowcurrently
Clarify some comments.https://github.com/python/cpython/pull/29883/commits/0d30300727cbfbd30e3d18b7035aa2120b5dec25
0d30300https://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
e193794https://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
e9f1262https://github.com/python/cpython/pull/29883/commits/e9f1262d98307e1158f76d9c4215552f8b9f622c
https://github.com/ericsnowcurrently
Fix a typo.https://github.com/python/cpython/pull/29883/commits/a6a647167f389ffa107d40de70704929efab2bb2
a6a6471https://github.com/python/cpython/pull/29883/commits/a6a647167f389ffa107d40de70704929efab2bb2
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jan 12, 2022https://github.com/python/cpython/pull/29883#issuecomment-1011524032
Please reload this pagehttps://github.com/python/cpython/pull/29883
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Jan 12, 2022https://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/AAWCWMXNEYDUC6YIRLTJAEDUVYBIXANCNFSM5JFJMYAAhttps://github.com/notifications/unsubscribe-auth/AAWCWMXNEYDUC6YIRLTJAEDUVYBIXANCNFSM5JFJMYAA
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675https://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%3Dgithubhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
Please reload this pagehttps://github.com/python/cpython/pull/29883
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
ed57b36https://github.com/python/cpython/commit/ed57b36c32e521162dbb97199e64a340d3bff827
Jan 12, 2022https://github.com/python/cpython/pull/29883#event-5883640208
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
Jan 12, 2022https://github.com/python/cpython/pull/29883#event-5883640359
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
January 12, 2022 23:28https://github.com/python/cpython/pull/29883#event-5883640767
tacaswellhttps://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.hhttps://github.com/tacaswell/typed_ast/commit/9b849ca14d335538b1c9919ca83f95dbaa8182fb
9b849cahttps://github.com/tacaswell/typed_ast/commit/9b849ca14d335538b1c9919ca83f95dbaa8182fb
python/cpython#29883https://github.com/python/cpython/pull/29883
https://github.com/tacaswell
tacaswellhttps://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
srittauhttps://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
#184https://github.com/python/typed_ast/pull/184
)https://github.com/python/typed_ast/commit/36110cfef2f6bf2442454cd453f56fa2d567b9e6
36110cfhttps://github.com/python/typed_ast/commit/36110cfef2f6bf2442454cd453f56fa2d567b9e6
python/cpython#29883https://github.com/python/cpython/pull/29883
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.