René's URL Explorer Experiment


Title: bpo-28866: No type cache for types with specialized mro, invalidation is hard. by JulienPalard · Pull Request #13157 · python/cpython · GitHub

Open Graph Title: bpo-28866: No type cache for types with specialized mro, invalidation is hard. by JulienPalard · Pull Request #13157 · python/cpython

X Title: bpo-28866: No type cache for types with specialized mro, invalidation is hard. by JulienPalard · Pull Request #13157 · python/cpython

Description: This is an alternative implementation of #13117 based on @markshannon idea (https://bugs.python.org/issue28866#msg341581). https://bugs.python.org/issue28866

Open Graph Description: This is an alternative implementation of #13117 based on @markshannon idea (https://bugs.python.org/issue28866#msg341581). https://bugs.python.org/issue28866

X Description: This is an alternative implementation of #13117 based on @markshannon idea (https://bugs.python.org/issue28866#msg341581). https://bugs.python.org/issue28866

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

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:87503e9d-9fb7-f3cb-1b75-474a9e8cd1aa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id95A0:359CC2:3D5E23:560FB2:696A45EE
html-safe-nonce64f19c8c59aefd8c87d63402e57aad69b6f8cc26dbdeef38e6d646d7d4c9143b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUEwOjM1OUNDMjozRDVFMjM6NTYwRkIyOjY5NkE0NUVFIiwidmlzaXRvcl9pZCI6IjY1MTgyNjM5MDg4ODYyNjczNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9d39fedd96c91d3e68030f7406c77d28c916751e7814b0bfc988dc811aa58336
hovercard-subject-tagpull_request:276641163
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/13157/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/517757013a42dddfb6e1f91d63d4a5e7a361417c6742a7d82942fa212fc5dc81/python/cpython/pull/13157
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/517757013a42dddfb6e1f91d63d4a5e7a361417c6742a7d82942fa212fc5dc81/python/cpython/pull/13157
og:image:altThis is an alternative implementation of #13117 based on @markshannon idea (https://bugs.python.org/issue28866#msg341581). https://bugs.python.org/issue28866
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJulienPalard
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
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
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/13157#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F13157
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%2F13157
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/13157
Reloadhttps://github.com/python/cpython/pull/13157
Reloadhttps://github.com/python/cpython/pull/13157
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/13157
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/13157
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/13157#issue-comment-box
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
JulienPalard:issue28866-alternativehttps://github.com/JulienPalard/cpython/tree/issue28866-alternative
bpo-28866: No type cache for types with specialized mro, invalidation is hard. https://github.com/python/cpython/pull/13157#top
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
JulienPalard:issue28866-alternativehttps://github.com/JulienPalard/cpython/tree/issue28866-alternative
Conversation 13 https://github.com/python/cpython/pull/13157
Commits 7 https://github.com/python/cpython/pull/13157/commits
Checks 0 https://github.com/python/cpython/pull/13157/checks
Files changed https://github.com/python/cpython/pull/13157/files
Please reload this pagehttps://github.com/python/cpython/pull/13157
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/JulienPalard
JulienPalardhttps://github.com/JulienPalard
May 7, 2019https://github.com/python/cpython/pull/13157#issue-441285735
Please reload this pagehttps://github.com/python/cpython/pull/13157
#13117https://github.com/python/cpython/pull/13117
@markshannonhttps://github.com/markshannon
https://bugs.python.org/issue28866#msg341581https://bugs.python.org/issue28866#msg341581
https://bugs.python.org/issue28866https://bugs.python.org/issue28866
Please reload this pagehttps://github.com/python/cpython/pull/13157
https://github.com/JulienPalard
No type cache for types with specialized mro, invalidation is hard.https://github.com/python/cpython/pull/13157/commits/278036fc11f2bd307209816fc8a8f861371c78df
278036fhttps://github.com/python/cpython/pull/13157/commits/278036fc11f2bd307209816fc8a8f861371c78df
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
May 7, 2019https://github.com/python/cpython/pull/13157#event-2324532399
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
May 7, 2019https://github.com/python/cpython/pull/13157#event-2324532562
https://github.com/markshannon
markshannonhttps://github.com/markshannon
May 7, 2019 https://github.com/python/cpython/pull/13157#pullrequestreview-234583314
View reviewed changes https://github.com/python/cpython/pull/13157/files/278036fc11f2bd307209816fc8a8f861371c78df
Objects/typeobject.chttps://github.com/python/cpython/pull/13157/files/278036fc11f2bd307209816fc8a8f861371c78df#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
Please reload this pagehttps://github.com/python/cpython/pull/13157
JulienPalardhttps://github.com/JulienPalard
May 7, 2019 21:49https://github.com/python/cpython/pull/13157#commits-pushed-3fb14a9
https://github.com/JulienPalard
FIX: Don't disable method cache custom types that do not implement mr…https://github.com/python/cpython/pull/13157/commits/3fb14a99ebbcecea39c4e45642240cff53cf0849
3fb14a9https://github.com/python/cpython/pull/13157/commits/3fb14a99ebbcecea39c4e45642240cff53cf0849
https://github.com/JulienPalard
fixing implem.https://github.com/python/cpython/pull/13157/commits/beac98bda7a3f4678527aba0e951abbc85cf3079
beac98bhttps://github.com/python/cpython/pull/13157/commits/beac98bda7a3f4678527aba0e951abbc85cf3079
https://github.com/ZackerySpytz
ZackerySpytzhttps://github.com/ZackerySpytz
May 7, 2019 https://github.com/python/cpython/pull/13157#pullrequestreview-234752728
View reviewed changes https://github.com/python/cpython/pull/13157/files/beac98bda7a3f4678527aba0e951abbc85cf3079
Objects/typeobject.chttps://github.com/python/cpython/pull/13157/files/beac98bda7a3f4678527aba0e951abbc85cf3079#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
Please reload this pagehttps://github.com/python/cpython/pull/13157
JulienPalardhttps://github.com/JulienPalard
May 8, 2019 16:33https://github.com/python/cpython/pull/13157#commits-pushed-dde48ab
https://github.com/JulienPalard
Avoid storing error flags, also decref.https://github.com/python/cpython/pull/13157/commits/dde48ab4cce847cf93bd4a66cb49a79bd89882cc
dde48abhttps://github.com/python/cpython/pull/13157/commits/dde48ab4cce847cf93bd4a66cb49a79bd89882cc
https://github.com/JulienPalard
news entryhttps://github.com/python/cpython/pull/13157/commits/724362d0ccc45978c0dfb73dc38cceff2bb87b5e
724362dhttps://github.com/python/cpython/pull/13157/commits/724362d0ccc45978c0dfb73dc38cceff2bb87b5e
https://github.com/markshannon
markshannonhttps://github.com/markshannon
May 8, 2019 https://github.com/python/cpython/pull/13157#pullrequestreview-235187081
View reviewed changes https://github.com/python/cpython/pull/13157/files/724362d0ccc45978c0dfb73dc38cceff2bb87b5e
Objects/typeobject.chttps://github.com/python/cpython/pull/13157/files/724362d0ccc45978c0dfb73dc38cceff2bb87b5e#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
markshannonhttps://github.com/markshannon
May 8, 2019https://github.com/python/cpython/pull/13157#discussion_r282167630
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/13157
JulienPalardhttps://github.com/JulienPalard
May 8, 2019https://github.com/python/cpython/pull/13157#discussion_r282176197
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/13157
https://github.com/JulienPalard
Clear as soon as we're getting an error.https://github.com/python/cpython/pull/13157/commits/c65583b92e165d2a93dce36949f4f62a10bf7ce6
c65583bhttps://github.com/python/cpython/pull/13157/commits/c65583b92e165d2a93dce36949f4f62a10bf7ce6
https://github.com/markshannon
markshannonhttps://github.com/markshannon
May 18, 2019 https://github.com/python/cpython/pull/13157#pullrequestreview-239199006
View reviewed changes https://github.com/python/cpython/pull/13157/files/c65583b92e165d2a93dce36949f4f62a10bf7ce6
Objects/typeobject.chttps://github.com/python/cpython/pull/13157/files/c65583b92e165d2a93dce36949f4f62a10bf7ce6#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
Please reload this pagehttps://github.com/python/cpython/pull/13157
https://github.com/JulienPalard
FIX: Reference leak.https://github.com/python/cpython/pull/13157/commits/cce9c148eee99fc7904097802d72c4cd17a10a7f
cce9c14https://github.com/python/cpython/pull/13157/commits/cce9c148eee99fc7904097802d72c4cd17a10a7f
https://github.com/markshannon
markshannonhttps://github.com/markshannon
May 26, 2019https://github.com/python/cpython/pull/13157#event-2367839201
https://github.com/markshannon
markshannonhttps://github.com/markshannon
May 26, 2019https://github.com/python/cpython/pull/13157#issuecomment-496004715
Please reload this pagehttps://github.com/python/cpython/pull/13157
https://github.com/markshannon
markshannonhttps://github.com/markshannon
180dc1bhttps://github.com/python/cpython/commit/180dc1b0f4a57c3f66351568ae8488fa8576d7f0
May 26, 2019https://github.com/python/cpython/pull/13157#event-2367840820
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 26, 2019https://github.com/python/cpython/pull/13157#issuecomment-496004733
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/13157
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
May 26, 2019https://github.com/python/cpython/pull/13157#event-2367840847
https://github.com/JulienPalard
JulienPalardhttps://github.com/JulienPalard
May 26, 2019 https://github.com/python/cpython/pull/13157#ref-pullrequest-440773262
bpo-28866: Invalidate type cache on every setattr #13117 https://github.com/python/cpython/pull/13117
https://github.com/JulienPalard
JulienPalardhttps://github.com/JulienPalard
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
May 26, 2019https://github.com/python/cpython/pull/13157#event-2368017201
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
May 26, 2019https://github.com/python/cpython/pull/13157#issuecomment-496034358
@JulienPalardhttps://github.com/JulienPalard
@markshannonhttps://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/13157
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
needs backport to 3.7 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.7%22
May 26, 2019https://github.com/python/cpython/pull/13157#event-2368017370
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
May 26, 2019https://github.com/python/cpython/pull/13157#issuecomment-496034387
GH-13589https://github.com/python/cpython/pull/13589
3.7 branchhttps://github.com/python/cpython/tree/3.7
Please reload this pagehttps://github.com/python/cpython/pull/13157
miss-islingtonhttps://github.com/miss-islington
May 26, 2019 https://github.com/python/cpython/pull/13157#ref-commit-94fd431
https://github.com/JulienPalard
https://github.com/miss-islington
bpo-28866: No type cache for types with specialized mro, invalidation…https://github.com/miss-islington/cpython/commit/94fd43169c13a87d7b32c86ad5908ee95813b6aa
94fd431https://github.com/miss-islington/cpython/commit/94fd43169c13a87d7b32c86ad5908ee95813b6aa
pythonGH-13157https://github.com/python/cpython/pull/13157
180dc1bhttps://github.com/miss-islington/cpython/commit/180dc1b0f4a57c3f66351568ae8488fa8576d7f0
miss-islingtonhttps://github.com/miss-islington
May 26, 2019 https://github.com/python/cpython/pull/13157#ref-commit-bfd0b77
https://github.com/miss-islington
[3.7]https://github.com/python/cpython/commit/bfd0b7720196b9ff647cc33dafbd31a04496402c
bpo-28866https://bugs.python.org/issue?@action=redirect&bpo=28866
: No type cache for types with specialized mro, invali…https://github.com/python/cpython/commit/bfd0b7720196b9ff647cc33dafbd31a04496402c
bfd0b77https://github.com/python/cpython/commit/bfd0b7720196b9ff647cc33dafbd31a04496402c
GH-13157https://github.com/python/cpython/pull/13157
GH-13589https://github.com/python/cpython/pull/13589
180dc1bhttps://github.com/python/cpython/commit/180dc1b0f4a57c3f66351568ae8488fa8576d7f0
https://bugs.python.org/issue28866https://bugs.python.org/issue28866
https://github.com/JulienPalard
JulienPalardhttps://github.com/JulienPalard
June 16, 2019 14:05https://github.com/python/cpython/pull/13157#event-2415909893
DinoVhttps://github.com/DinoV
Jan 14, 2020 https://github.com/python/cpython/pull/13157#ref-commit-6933615
https://github.com/JulienPalard
https://github.com/DinoV
bpo-28866: No type cache for types with specialized mro, invalidation…https://github.com/DinoV/cpython/commit/693361568250b4bde522b53de76e8c05e5cacea1
6933615https://github.com/DinoV/cpython/commit/693361568250b4bde522b53de76e8c05e5cacea1
python#13157https://github.com/python/cpython/pull/13157
https://github.com/python/cpython/pull/13157
sjpalthttps://github.com/python/cpython/pull/13157
Apr 10, 2022 https://github.com/python/cpython/pull/13157#ref-issue-1198964497
Type cache is not correctly invalidated on a class defining mro() #73052 https://github.com/python/cpython/issues/73052
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%2F13157
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/python/cpython/pull/13157/files/c65583b92e165d2a93dce36949f4f62a10bf7ce6
https://github.com/ZackerySpytz
ZackerySpytz https://github.com/ZackerySpytz
https://github.com/python/cpython/pull/13157/files/beac98bda7a3f4678527aba0e951abbc85cf3079
https://github.com/markshannon
markshannon https://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/13157
https://github.com/JulienPalard
https://github.com/markshannon
https://github.com/bedevere-bot
https://github.com/miss-islington
https://github.com/ZackerySpytz
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.