René's URL Explorer Experiment


Title: bpo-39320: Handle unpacking of **values in compiler by markshannon · Pull Request #18141 · python/cpython · GitHub

Open Graph Title: bpo-39320: Handle unpacking of **values in compiler by markshannon · Pull Request #18141 · python/cpython

X Title: bpo-39320: Handle unpacking of **values in compiler by markshannon · Pull Request #18141 · python/cpython

Description: This is the second part of the implementation of bpo-39320. Part 1 was #17984 This PR replaces BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL with DICT_MERGE and DICT_UPDATE. DICT_UPDATE n calls i...

Open Graph Description: This is the second part of the implementation of bpo-39320. Part 1 was #17984 This PR replaces BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL with DICT_MERGE and DICT_UPDATE. DICT_UPDATE n calls i...

X Description: This is the second part of the implementation of bpo-39320. Part 1 was #17984 This PR replaces BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL with DICT_MERGE and DICT_UPDATE. DICT_UPDATE n calls i...

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

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:4b49b323-6c8d-4fcd-a2d8-ecb091ae7a25
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB6C2:F5501:19CA27:233389:696A9C74
html-safe-nonce5379fc59fa818d5a32d7b4a1c1023f4370b3335c8b281442ae107b66c84cae9e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkMyOkY1NTAxOjE5Q0EyNzoyMzMzODk6Njk2QTlDNzQiLCJ2aXNpdG9yX2lkIjoiMTgxNDM4OTYxMjkwNTkyOTg0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaced1537cd9b8df1e6f14d9c899a2e638057c2688dda11e7edd81964bce6417c25
hovercard-subject-tagpull_request:366266505
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/18141/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b62b3c68d156a4e542269f48752afa26cc3b5373b2aa15f4562c2a69df13e65b/python/cpython/pull/18141
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b62b3c68d156a4e542269f48752afa26cc3b5373b2aa15f4562c2a69df13e65b/python/cpython/pull/18141
og:image:altThis is the second part of the implementation of bpo-39320. Part 1 was #17984 This PR replaces BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL with DICT_MERGE and DICT_UPDATE. DICT_UPDATE n calls i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
Nonec0d8175e41e0e55b9e984c935b24b808cabab919dd3174aa45dac3ef503ed1af
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
release99aab454e5ddc8df30805fb76c114c3008a15842
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/18141#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F18141
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%2F18141
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/18141
Reloadhttps://github.com/python/cpython/pull/18141
Reloadhttps://github.com/python/cpython/pull/18141
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/18141
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/18141
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/18141#issue-comment-box
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
markshannon:handle-dict-unpacking-in-compilerhttps://github.com/markshannon/cpython/tree/handle-dict-unpacking-in-compiler
bpo-39320: Handle unpacking of **values in compiler https://github.com/python/cpython/pull/18141#top
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
markshannon:handle-dict-unpacking-in-compilerhttps://github.com/markshannon/cpython/tree/handle-dict-unpacking-in-compiler
Conversation 4 https://github.com/python/cpython/pull/18141
Commits 6 https://github.com/python/cpython/pull/18141/commits
Checks 0 https://github.com/python/cpython/pull/18141/checks
Files changed https://github.com/python/cpython/pull/18141/files
Please reload this pagehttps://github.com/python/cpython/pull/18141
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 23, 2020https://github.com/python/cpython/pull/18141#issue-554042079
Please reload this pagehttps://github.com/python/cpython/pull/18141
bpo-39320https://bugs.python.org/issue39320
#17984https://github.com/python/cpython/pull/17984
https://bugs.python.org/issue39320https://bugs.python.org/issue39320
Please reload this pagehttps://github.com/python/cpython/pull/18141
markshannonhttps://github.com/markshannon
January 23, 2020 09:30https://github.com/python/cpython/pull/18141#commits-pushed-33464eb
https://github.com/markshannon
Add DICT_UPDATE and DICT_MERGE bytecodes. Use them for ** unpacking.https://github.com/python/cpython/pull/18141/commits/33464ebe265f0e1048ae899a66572f5814a49441
33464ebhttps://github.com/python/cpython/pull/18141/commits/33464ebe265f0e1048ae899a66572f5814a49441
https://github.com/markshannon
Remove BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL, as they are n…https://github.com/python/cpython/pull/18141/commits/d123328ac6fc04e8fe095443f75dc23dadd4ec10
d123328https://github.com/python/cpython/pull/18141/commits/d123328ac6fc04e8fe095443f75dc23dadd4ec10
https://github.com/markshannon
Update magic number for ** unpacking opcodes.https://github.com/python/cpython/pull/18141/commits/6b9f0c49644a4729227870584541a3e7b06063d1
6b9f0c4https://github.com/python/cpython/pull/18141/commits/6b9f0c49644a4729227870584541a3e7b06063d1
https://github.com/markshannon
Update dis.rst to incorporate new bytecodes.https://github.com/python/cpython/pull/18141/commits/7a05eca89d5f3c1a78ebc61b6cf715841a765f7c
7a05ecahttps://github.com/python/cpython/pull/18141/commits/7a05eca89d5f3c1a78ebc61b6cf715841a765f7c
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
Jan 23, 2020https://github.com/python/cpython/pull/18141#event-2973039719
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
Jan 23, 2020https://github.com/python/cpython/pull/18141#event-2973039927
https://github.com/markshannon
Add blurb entry.https://github.com/python/cpython/pull/18141/commits/95e421cc7eeb59b3692141df8e72a1d8a499c32f
95e421chttps://github.com/python/cpython/pull/18141/commits/95e421cc7eeb59b3692141df8e72a1d8a499c32f
https://github.com/markshannon
markshannonhttps://github.com/markshannon
force-pushedhttps://github.com/python/cpython/compare/b6ad2379aa16d4605af305b0b9ad0fe07ad18891..95e421cc7eeb59b3692141df8e72a1d8a499c32f
b6ad237https://github.com/python/cpython/commit/b6ad2379aa16d4605af305b0b9ad0fe07ad18891
95e421chttps://github.com/python/cpython/commit/95e421cc7eeb59b3692141df8e72a1d8a499c32f
Compare https://github.com/python/cpython/compare/b6ad2379aa16d4605af305b0b9ad0fe07ad18891..95e421cc7eeb59b3692141df8e72a1d8a499c32f
January 23, 2020 10:11https://github.com/python/cpython/pull/18141#event-2973149300
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jan 23, 2020 https://github.com/python/cpython/pull/18141#pullrequestreview-347233994
View reviewed changes https://github.com/python/cpython/pull/18141/files/95e421cc7eeb59b3692141df8e72a1d8a499c32f
Misc/NEWS.d/next/Core and Builtins/2020-01-15-15-50-22.bpo-39320.oWARyk.rsthttps://github.com/python/cpython/pull/18141/files/95e421cc7eeb59b3692141df8e72a1d8a499c32f#diff-2de34a9b5b998a9d29d237be76f1d37c1111932fc0fa90267a602a456850a2de
pablogsalhttps://github.com/pablogsal
Jan 23, 2020https://github.com/python/cpython/pull/18141#discussion_r370070087
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/18141
https://github.com/markshannon
Make news item a single paragraph.https://github.com/python/cpython/pull/18141/commits/2d2fe4cef7726b469d74e4e3d32de81a9da81334
2d2fe4chttps://github.com/python/cpython/pull/18141/commits/2d2fe4cef7726b469d74e4e3d32de81a9da81334
https://github.com/markshannon
markshannonhttps://github.com/markshannon
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Jan 23, 2020https://github.com/python/cpython/pull/18141#event-2973585125
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jan 23, 2020https://github.com/python/cpython/pull/18141#issuecomment-577665516
@markshannonhttps://github.com/markshannon
2d2fe4chttps://github.com/python/cpython/commit/2d2fe4cef7726b469d74e4e3d32de81a9da81334
Please reload this pagehttps://github.com/python/cpython/pull/18141
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Jan 23, 2020https://github.com/python/cpython/pull/18141#event-2973585344
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Jan 23, 2020https://github.com/python/cpython/pull/18141#issuecomment-577701387
Please reload this pagehttps://github.com/python/cpython/pull/18141
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jan 27, 2020https://github.com/python/cpython/pull/18141#issuecomment-578672639
Please reload this pagehttps://github.com/python/cpython/pull/18141
https://github.com/markshannon
markshannonhttps://github.com/markshannon
8a4cd70https://github.com/python/cpython/commit/8a4cd700a7426341c2074a2b580306d2d60ec839
Jan 27, 2020https://github.com/python/cpython/pull/18141#event-2981143641
https://github.com/markshannon
markshannonhttps://github.com/markshannon
January 27, 2020 09:57https://github.com/python/cpython/pull/18141#event-2981143736
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
Jan 27, 2020https://github.com/python/cpython/pull/18141#event-2981143815
shihai1991https://github.com/shihai1991
Jan 31, 2020 https://github.com/python/cpython/pull/18141#ref-commit-5d539e8
https://github.com/markshannon
https://github.com/shihai1991
bpo-39320: Handle unpacking of **values in compiler (https://github.com/shihai1991/cpython/commit/5d539e8a9c23941757d61626e76c7b045c66ae6f
pythonGH-18141https://github.com/python/cpython/pull/18141
)https://github.com/shihai1991/cpython/commit/5d539e8a9c23941757d61626e76c7b045c66ae6f
5d539e8https://github.com/shihai1991/cpython/commit/5d539e8a9c23941757d61626e76c7b045c66ae6f
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Sep 11, 2022 https://github.com/python/cpython/pull/18141#ref-issue-1368890506
Dead code in CALL_FUNCTION_EX opcode handler #96751 https://github.com/python/cpython/issues/96751
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%2F18141
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/python/cpython/pull/18141/files/95e421cc7eeb59b3692141df8e72a1d8a499c32f
Please reload this pagehttps://github.com/python/cpython/pull/18141
https://github.com/markshannon
https://github.com/bedevere-bot
https://github.com/pablogsal
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.