René's URL Explorer Experiment


Title: bpo-42990: Further refactoring of PyEval_ functions. by markshannon · Pull Request #24368 · python/cpython · GitHub

Open Graph Title: bpo-42990: Further refactoring of PyEval_ functions. by markshannon · Pull Request #24368 · python/cpython

X Title: bpo-42990: Further refactoring of PyEval_ functions. by markshannon · Pull Request #24368 · python/cpython

Description: Removes a further layer of indirection for calling Python functions, by replacing _PyEval_EvalCodeWithName() which took a large an incoherent set of parameters with _PyEval_Vector() which takes fewer than half the parameters, and is more efficient in the common case of calling a function. Skipping NEWS as this should have no visible effect on API or performance, nor does it fix any bugs. It just makes our life easier in the future. https://bugs.python.org/issue42990

Open Graph Description: Removes a further layer of indirection for calling Python functions, by replacing _PyEval_EvalCodeWithName() which took a large an incoherent set of parameters with _PyEval_Vector() which takes few...

X Description: Removes a further layer of indirection for calling Python functions, by replacing _PyEval_EvalCodeWithName() which took a large an incoherent set of parameters with _PyEval_Vector() which takes few...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8acf66bc-283d-fbd7-86a3-e1adf8ed9c69
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC46:2FF27D:3B595A:4FBFA2:6969AD6E
html-safe-nonceca613eb98d8dba1b64dac8d0a45c9c9842c2aa741ce367dce85749b707e1b36c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzQ2OjJGRjI3RDozQjU5NUE6NEZCRkEyOjY5NjlBRDZFIiwidmlzaXRvcl9pZCI6IjQ2ODY3MDM3NDAwNTM5OTA3NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaceb3fec803037d61f9bd714b97d1894b52b161cb00ae3a9ef7f427050bef3ab73
hovercard-subject-tagpull_request:564021010
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/24368/files
twitter:imagehttps://avatars.githubusercontent.com/u/9448417?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/9448417?s=400&v=4
og:image:altRemoves a further layer of indirection for calling Python functions, by replacing _PyEval_EvalCodeWithName() which took a large an incoherent set of parameters with _PyEval_Vector() which takes few...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/24368/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24368%2Ffiles
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%2F24368%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/24368/files
Reloadhttps://github.com/python/cpython/pull/24368/files
Reloadhttps://github.com/python/cpython/pull/24368/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/24368/files
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/24368/files
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
markshannonhttps://github.com/markshannon
python:masterhttps://github.com/python/cpython/tree/master
markshannon:eval-refactorhttps://github.com/markshannon/cpython/tree/eval-refactor
Conversation 2 https://github.com/python/cpython/pull/24368
Commits 11 https://github.com/python/cpython/pull/24368/commits
Checks 0 https://github.com/python/cpython/pull/24368/checks
Files changed https://github.com/python/cpython/pull/24368/files
Please reload this pagehttps://github.com/python/cpython/pull/24368/files
bpo-42990: Further refactoring of PyEval_ functions. https://github.com/python/cpython/pull/24368/files#top
Show all changes 11 commits https://github.com/python/cpython/pull/24368/files
d2526ef Further refactoring of PyEval_EvalCode and friends. Break into make-f… markshannon Jan 26, 2021 https://github.com/python/cpython/pull/24368/commits/d2526ef7900ecd8e1df21df67d7c1e4cc316e78f
b6b6dcf Simplify function vector call using new _PyEval_Vector. markshannon Jan 26, 2021 https://github.com/python/cpython/pull/24368/commits/b6b6dcfaea94ab4d1ee3b536a71e11f4e3135935
d05e768 Remove unused internal functions: _PyEval_EvalCodeWithName and _PyEva… markshannon Jan 26, 2021 https://github.com/python/cpython/pull/24368/commits/d05e768f8858a79da4d57c61efab329a55040c75
86ed35c Don't use legacy function PyEval_EvalCodeEx. markshannon Jan 26, 2021 https://github.com/python/cpython/pull/24368/commits/86ed35cbefd66cd25d4bbf18a4d1265f892f39d0
0eb824a Further simplifications. markshannon Jan 26, 2021 https://github.com/python/cpython/pull/24368/commits/0eb824ad20e4f73a58d6018f11e17445e9fa5281
0c425bb Fix up after rebase. markshannon Jan 29, 2021 https://github.com/python/cpython/pull/24368/commits/0c425bbb71cb19e23fc7e66e81185e4e1b8d38ba
d2150e4 Remove locals from frame descriptor. Make _PyEval_Vector parameters m… markshannon Jan 29, 2021 https://github.com/python/cpython/pull/24368/commits/d2150e437209e9f6c030d06097d5456273703698
4c16e21 Manually inline one use static function. markshannon Jan 29, 2021 https://github.com/python/cpython/pull/24368/commits/4c16e21e3350a636d4915827d374cc721acc6a78
12df805 Add news markshannon Jan 30, 2021 https://github.com/python/cpython/pull/24368/commits/12df80577c0c72d05350f355ca14eca41cb84ac1
be72b61 Fix compiler warning. markshannon Jan 30, 2021 https://github.com/python/cpython/pull/24368/commits/be72b61ebbd1b710ddd06572240a2e6bcb57d479
0af68d1 Fix formatting in news item. markshannon Jan 30, 2021 https://github.com/python/cpython/pull/24368/commits/0af68d1ab5841d55a14bbc1cc324411c1b1014fb
Clear filters https://github.com/python/cpython/pull/24368/files
Please reload this pagehttps://github.com/python/cpython/pull/24368/files
Please reload this pagehttps://github.com/python/cpython/pull/24368/files
frameobject.h https://github.com/python/cpython/pull/24368/files#diff-80b0f0cc7ce311d47e1134cb8615910f8a728ef96ff098f3635497efda485a00
eval.h https://github.com/python/cpython/pull/24368/files#diff-df925585c64ee61fb42cf258433737ad188dbf7d112d70cde739d9ed2bf9697a
pycore_ceval.h https://github.com/python/cpython/pull/24368/files#diff-9e7eb7e81667528dfa3a35bbf32fe622d4721c3c71385ea0ea2250abbd15d545
2021-01-30-11-31-44.bpo-42990.69h_zK.rst https://github.com/python/cpython/pull/24368/files#diff-3ef6e1af8eeda9a0e0aa7ede9ff731434ee7724cc356d5d4a4eb88c9889613e5
call.c https://github.com/python/cpython/pull/24368/files#diff-b876797aa8c96d633b0b869447e7e14da64b9f53e48561149446939e7c6257e9
frameobject.c https://github.com/python/cpython/pull/24368/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
funcobject.c https://github.com/python/cpython/pull/24368/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
bltinmodule.c https://github.com/python/cpython/pull/24368/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
ceval.c https://github.com/python/cpython/pull/24368/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Include/cpython/frameobject.hhttps://github.com/python/cpython/pull/24368/files#diff-80b0f0cc7ce311d47e1134cb8615910f8a728ef96ff098f3635497efda485a00
View file https://github.com/markshannon/cpython/blob/0af68d1ab5841d55a14bbc1cc324411c1b1014fb/Include/cpython/frameobject.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/24368/{{ revealButtonHref }}
https://github.com/python/cpython/pull/24368/files#diff-80b0f0cc7ce311d47e1134cb8615910f8a728ef96ff098f3635497efda485a00
https://github.com/python/cpython/pull/24368/files#diff-80b0f0cc7ce311d47e1134cb8615910f8a728ef96ff098f3635497efda485a00
Include/eval.hhttps://github.com/python/cpython/pull/24368/files#diff-df925585c64ee61fb42cf258433737ad188dbf7d112d70cde739d9ed2bf9697a
View file https://github.com/markshannon/cpython/blob/0af68d1ab5841d55a14bbc1cc324411c1b1014fb/Include/eval.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/24368/{{ revealButtonHref }}
https://github.com/python/cpython/pull/24368/files#diff-df925585c64ee61fb42cf258433737ad188dbf7d112d70cde739d9ed2bf9697a
https://github.com/python/cpython/pull/24368/files#diff-df925585c64ee61fb42cf258433737ad188dbf7d112d70cde739d9ed2bf9697a
Include/internal/pycore_ceval.hhttps://github.com/python/cpython/pull/24368/files#diff-9e7eb7e81667528dfa3a35bbf32fe622d4721c3c71385ea0ea2250abbd15d545
View file https://github.com/markshannon/cpython/blob/0af68d1ab5841d55a14bbc1cc324411c1b1014fb/Include/internal/pycore_ceval.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/24368/{{ revealButtonHref }}
https://github.com/python/cpython/pull/24368/files#diff-9e7eb7e81667528dfa3a35bbf32fe622d4721c3c71385ea0ea2250abbd15d545
https://github.com/python/cpython/pull/24368/files#diff-9e7eb7e81667528dfa3a35bbf32fe622d4721c3c71385ea0ea2250abbd15d545
Misc/NEWS.d/next/Core and Builtins/2021-01-30-11-31-44.bpo-42990.69h_zK.rsthttps://github.com/python/cpython/pull/24368/files#diff-3ef6e1af8eeda9a0e0aa7ede9ff731434ee7724cc356d5d4a4eb88c9889613e5
View file https://github.com/markshannon/cpython/blob/0af68d1ab5841d55a14bbc1cc324411c1b1014fb/Misc/NEWS.d/next/Core%20and%20Builtins/2021-01-30-11-31-44.bpo-42990.69h_zK.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/24368/{{ revealButtonHref }}
Objects/call.chttps://github.com/python/cpython/pull/24368/files#diff-b876797aa8c96d633b0b869447e7e14da64b9f53e48561149446939e7c6257e9
View file https://github.com/markshannon/cpython/blob/0af68d1ab5841d55a14bbc1cc324411c1b1014fb/Objects/call.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/24368/{{ revealButtonHref }}
https://github.com/python/cpython/pull/24368/files#diff-b876797aa8c96d633b0b869447e7e14da64b9f53e48561149446939e7c6257e9
https://github.com/python/cpython/pull/24368/files#diff-b876797aa8c96d633b0b869447e7e14da64b9f53e48561149446939e7c6257e9
Objects/frameobject.chttps://github.com/python/cpython/pull/24368/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
View file https://github.com/markshannon/cpython/blob/0af68d1ab5841d55a14bbc1cc324411c1b1014fb/Objects/frameobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/24368/{{ revealButtonHref }}
https://github.com/python/cpython/pull/24368/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
https://github.com/python/cpython/pull/24368/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
https://github.com/python/cpython/pull/24368/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
https://github.com/python/cpython/pull/24368/files#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
Objects/funcobject.chttps://github.com/python/cpython/pull/24368/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
View file https://github.com/markshannon/cpython/blob/0af68d1ab5841d55a14bbc1cc324411c1b1014fb/Objects/funcobject.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/24368/{{ revealButtonHref }}
https://github.com/python/cpython/pull/24368/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
https://github.com/python/cpython/pull/24368/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2
Python/bltinmodule.chttps://github.com/python/cpython/pull/24368/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
View file https://github.com/markshannon/cpython/blob/0af68d1ab5841d55a14bbc1cc324411c1b1014fb/Python/bltinmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/24368/{{ revealButtonHref }}
https://github.com/python/cpython/pull/24368/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
https://github.com/python/cpython/pull/24368/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
https://github.com/python/cpython/pull/24368/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
https://github.com/python/cpython/pull/24368/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
Please reload this pagehttps://github.com/python/cpython/pull/24368/files
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.