René's URL Explorer Experiment


Title: bpo-44821: Eagerly assign __dict__ for new objects. by markshannon · Pull Request #27589 · python/cpython · GitHub

Open Graph Title: bpo-44821: Eagerly assign __dict__ for new objects. by markshannon · Pull Request #27589 · python/cpython

X Title: bpo-44821: Eagerly assign __dict__ for new objects. by markshannon · Pull Request #27589 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: This is part of our drive to make layout of objects more regular and efficient. This has little or no overall impact on performance The main reason for this PR is make specialization of STORE_ATTR ...

X Description: This is part of our drive to make layout of objects more regular and efficient. This has little or no overall impact on performance The main reason for this PR is make specialization of STORE_ATTR ...

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

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:f8c7bff7-d7f5-2e75-0647-20e5c75e9864
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8298:2D29C2:1166856:180268C:6A53C12D
html-safe-nonce2cfdea302144200efa612d4d89a9f285acf2297b61d7b23f5a5336e15e183b03
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mjk4OjJEMjlDMjoxMTY2ODU2OjE4MDI2OEM6NkE1M0MxMkQiLCJ2aXNpdG9yX2lkIjoiNTY0NTg5MjMwNTE3OTM2MTU4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac050174871f923e8b096cacf3e6be057caacb40df466951e09d21c0fb1ff5e14c
hovercard-subject-tagpull_request:703268583
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/27589/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/69d3f5c7e0539b2d7b3c47b34f3b9a9084c114d60343121fb3642f6006a1d804/python/cpython/pull/27589
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69d3f5c7e0539b2d7b3c47b34f3b9a9084c114d60343121fb3642f6006a1d804/python/cpython/pull/27589
og:image:altThis is part of our drive to make layout of objects more regular and efficient. This has little or no overall impact on performance The main reason for this PR is make specialization of STORE_ATTR ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/27589#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27589
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F27589
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/27589
Reloadhttps://github.com/python/cpython/pull/27589
Reloadhttps://github.com/python/cpython/pull/27589
Please reload this pagehttps://github.com/python/cpython/pull/27589
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/27589
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:eager-dictshttps://github.com/faster-cpython/cpython/tree/eager-dicts
Conversationhttps://github.com/python/cpython/pull/27589
Commits3 (3)https://github.com/python/cpython/pull/27589/commits
Checkshttps://github.com/python/cpython/pull/27589/checks
Files changedhttps://github.com/python/cpython/pull/27589/files
bpo-44821: Eagerly assign __dict__ for new objects.https://github.com/python/cpython/pull/27589#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:eager-dictshttps://github.com/faster-cpython/cpython/tree/eager-dicts
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Aug 4, 2021https://github.com/python/cpython/pull/27589#issue-960227567
Please reload this pagehttps://github.com/python/cpython/pull/27589
impact on performancehttps://gist.github.com/markshannon/8350aad501778d3a64d8ac4891ad5a4d
https://bugs.python.org/issue44821https://bugs.python.org/issue44821
Please reload this pagehttps://github.com/python/cpython/pull/27589
markshannonhttps://github.com/markshannon
August 4, 2021 09:30https://github.com/python/cpython/pull/27589#commits-pushed-9ce0af5
https://github.com/markshannon
Eagerly assign __dict__ for new objects.https://github.com/python/cpython/pull/27589/commits/9ce0af527dbaf0dd9ec60b80eb15427ead12a8a8
9ce0af5https://github.com/python/cpython/pull/27589/commits/9ce0af527dbaf0dd9ec60b80eb15427ead12a8a8
https://github.com/markshannon
Add NEWShttps://github.com/python/cpython/pull/27589/commits/d891f0d9773afaf723cf8926e208445ec6e2002f
d891f0dhttps://github.com/python/cpython/pull/27589/commits/d891f0d9773afaf723cf8926e208445ec6e2002f
https://github.com/markshannon
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
code ownerhttps://github.com/python/cpython/blob/ac811f9b5a68ce8756911ef2c8be83b46696018f/.github/CODEOWNERS#L15
August 4, 2021 10:38https://github.com/python/cpython/pull/27589#event-5110241422
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
Aug 4, 2021https://github.com/python/cpython/pull/27589#event-5110241603
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
Aug 4, 2021https://github.com/python/cpython/pull/27589#event-5110241648
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Aug 4, 2021 https://github.com/python/cpython/pull/27589#ref-pullrequest-960227956
bpo-44826: Specialize STORE_ATTR #27590 https://github.com/python/cpython/pull/27590
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Aug 4, 2021 https://github.com/python/cpython/pull/27589#pullrequestreview-722255377
View reviewed changes https://github.com/python/cpython/pull/27589/files/d891f0d9773afaf723cf8926e208445ec6e2002f
gvanrossumhttps://github.com/gvanrossum
https://github.com/python/cpython/pull/27589#pullrequestreview-722255377
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/27589
Objects/dictobject.chttps://github.com/python/cpython/pull/27589/files/d891f0d9773afaf723cf8926e208445ec6e2002f#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
Please reload this pagehttps://github.com/python/cpython/pull/27589
Objects/dictobject.chttps://github.com/python/cpython/pull/27589/files/d891f0d9773afaf723cf8926e208445ec6e2002f#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
Please reload this pagehttps://github.com/python/cpython/pull/27589
Objects/dictobject.chttps://github.com/python/cpython/pull/27589/files/d891f0d9773afaf723cf8926e208445ec6e2002f#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
Please reload this pagehttps://github.com/python/cpython/pull/27589
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 4, 2021 https://github.com/python/cpython/pull/27589#pullrequestreview-722282977
View reviewed changes https://github.com/python/cpython/pull/27589/files/d891f0d9773afaf723cf8926e208445ec6e2002f
Include/internal/pycore_object.hhttps://github.com/python/cpython/pull/27589/files/d891f0d9773afaf723cf8926e208445ec6e2002f#diff-2a12f738a77b362d74a65949b58c37f2affcd15ba8b1c979b63bd00223b8a456
Please reload this pagehttps://github.com/python/cpython/pull/27589
Objects/dictobject.chttps://github.com/python/cpython/pull/27589/files/d891f0d9773afaf723cf8926e208445ec6e2002f#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae
Please reload this pagehttps://github.com/python/cpython/pull/27589
https://github.com/markshannon
Refector and streamline _PyObject_InitializeDict.https://github.com/python/cpython/pull/27589/commits/5df6e6619a88d0e53d50d93e5729881d3822318f
5df6e66https://github.com/python/cpython/pull/27589/commits/5df6e6619a88d0e53d50d93e5729881d3822318f
https://github.com/markshannon
markshannonhttps://github.com/markshannon
cee67fahttps://github.com/python/cpython/commit/cee67fa66129b5d1db5c8aa3884338f82f0da3de
Aug 4, 2021https://github.com/python/cpython/pull/27589#event-5112065023
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
Aug 4, 2021https://github.com/python/cpython/pull/27589#event-5112065257
https://github.com/markshannon
markshannonhttps://github.com/markshannon
August 23, 2021 13:31https://github.com/python/cpython/pull/27589#event-5194486423
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F27589
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/27589/files/5df6e6619a88d0e53d50d93e5729881d3822318f
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/python/cpython/pull/27589/files/d891f0d9773afaf723cf8926e208445ec6e2002f
https://github.com/methane
methane https://github.com/methane
Please reload this pagehttps://github.com/python/cpython/pull/27589
https://github.com/markshannon
https://github.com/vstinner
https://github.com/gvanrossum
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.