René's URL Explorer Experiment


Title: bpo-29548: Fix some inefficient call API usage by methane · Pull Request #97 · python/cpython · GitHub

Open Graph Title: bpo-29548: Fix some inefficient call API usage by methane · Pull Request #97 · python/cpython

X Title: bpo-29548: Fix some inefficient call API usage by methane · Pull Request #97 · python/cpython

Description: While bpo-29548, some inefficient PyEval_Call*() usage are found. This is spin off pull request for fixing them. Use _PyObject_CallNoArg() when there are no arguments. Use PyObject_CallMethod inst...

Open Graph Description: While bpo-29548, some inefficient PyEval_Call*() usage are found. This is spin off pull request for fixing them. Use _PyObject_CallNoArg() when there are no arguments. Use PyObject_CallMethod inst...

X Description: While bpo-29548, some inefficient PyEval_Call*() usage are found. This is spin off pull request for fixing them. Use _PyObject_CallNoArg() when there are no arguments. Use PyObject_CallMethod inst...

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

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:87da3734-0c94-f3bc-b30a-059a16ce0580
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA86A:304CD9:301B93:433DF3:696A08AC
html-safe-nonce2727f234c884cecc9d13f556433634960321a1b41749bdd1439d84429dfd03b8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODZBOjMwNENEOTozMDFCOTM6NDMzREYzOjY5NkEwOEFDIiwidmlzaXRvcl9pZCI6IjY3ODIwMzM0NDU1NTk4NjM0NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacea905aedfc04cdb722d9efec612353c84789adbc56c303d6bd62fffb1ec40aed
hovercard-subject-tagpull_request:106127999
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/97/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c86b49e4642327aefceb83355182002c0cad558d9c3530fc169e8a87cb9eba7c/python/cpython/pull/97
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c86b49e4642327aefceb83355182002c0cad558d9c3530fc169e8a87cb9eba7c/python/cpython/pull/97
og:image:altWhile bpo-29548, some inefficient PyEval_Call*() usage are found. This is spin off pull request for fixing them. Use _PyObject_CallNoArg() when there are no arguments. Use PyObject_CallMethod inst...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemethane
hostnamegithub.com
expected-hostnamegithub.com
None578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc
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
release671c2f67171dbced24284331f3133a613d08c366
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/97#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F97
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%2F97
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/97
Reloadhttps://github.com/python/cpython/pull/97
Reloadhttps://github.com/python/cpython/pull/97
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/97
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/97
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/97#issue-comment-box
methanehttps://github.com/methane
python:masterhttps://github.com/python/cpython/tree/master
methane:fix-call-usagehttps://github.com/methane/cpython/tree/fix-call-usage
bpo-29548: Fix some inefficient call API usage https://github.com/python/cpython/pull/97#top
methanehttps://github.com/methane
python:masterhttps://github.com/python/cpython/tree/master
methane:fix-call-usagehttps://github.com/methane/cpython/tree/fix-call-usage
Conversation 7 https://github.com/python/cpython/pull/97
Commits 4 https://github.com/python/cpython/pull/97/commits
Checks 0 https://github.com/python/cpython/pull/97/checks
Files changed https://github.com/python/cpython/pull/97/files
Please reload this pagehttps://github.com/python/cpython/pull/97
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/methane
methanehttps://github.com/methane
Feb 14, 2017https://github.com/python/cpython/pull/97#issue-207548223
Please reload this pagehttps://github.com/python/cpython/pull/97
bpo-29548https://bugs.python.org/issue?@action=redirect&bpo=29548
Please reload this pagehttps://github.com/python/cpython/pull/97
https://github.com/methane
Fix some inefficient call API usagehttps://github.com/python/cpython/pull/97/commits/4e2f6b4e0c27b2914a11bd18f09170b7686c5f70
4e2f6b4https://github.com/python/cpython/pull/97/commits/4e2f6b4e0c27b2914a11bd18f09170b7686c5f70
https://github.com/methane
methanehttps://github.com/methane
vstinnerhttps://github.com/vstinner
February 14, 2017 15:30https://github.com/python/cpython/pull/97#event-961551953
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 14, 2017 https://github.com/python/cpython/pull/97#pullrequestreview-21785867
View reviewed changes https://github.com/python/cpython/pull/97/files/4e2f6b4e0c27b2914a11bd18f09170b7686c5f70
Modules/_functoolsmodule.chttps://github.com/python/cpython/pull/97/files/4e2f6b4e0c27b2914a11bd18f09170b7686c5f70#diff-d1deea0fb29260d389bac1b24c3ec3631e843d177e85c0e93d5cf50966dee630
vstinnerhttps://github.com/vstinner
Feb 14, 2017https://github.com/python/cpython/pull/97#discussion_r101067519
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/97
Modules/_functoolsmodule.chttps://github.com/python/cpython/pull/97/files/4e2f6b4e0c27b2914a11bd18f09170b7686c5f70#diff-d1deea0fb29260d389bac1b24c3ec3631e843d177e85c0e93d5cf50966dee630
vstinnerhttps://github.com/vstinner
Feb 14, 2017https://github.com/python/cpython/pull/97#discussion_r101067807
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/97
methanehttps://github.com/methane
Feb 15, 2017https://github.com/python/cpython/pull/97#discussion_r101312735
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/97
https://github.com/zware
zwarehttps://github.com/zware
CLA not signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22
CLA not signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22
Feb 14, 2017https://github.com/python/cpython/pull/97#event-961816090
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
Feb 14, 2017https://github.com/python/cpython/pull/97#event-961816187
https://github.com/methane
minor style fixhttps://github.com/python/cpython/pull/97/commits/4e7d7a476021f3a38e26ee4227385474f031e9d5
4e7d7a4https://github.com/python/cpython/pull/97/commits/4e7d7a476021f3a38e26ee4227385474f031e9d5
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 15, 2017https://github.com/python/cpython/pull/97#event-964049956
https://github.com/methane
revert functools changeshttps://github.com/python/cpython/pull/97/commits/706f9e39b2ca4c8fa93f9ca7c6459cf142f973cf
706f9e3https://github.com/python/cpython/pull/97/commits/706f9e39b2ca4c8fa93f9ca7c6459cf142f973cf
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 15, 2017 https://github.com/python/cpython/pull/97#pullrequestreview-22141192
View reviewed changes https://github.com/python/cpython/pull/97/files/706f9e39b2ca4c8fa93f9ca7c6459cf142f973cf
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/97#pullrequestreview-22141192
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/97
Modules/_tkinter.chttps://github.com/python/cpython/pull/97/files/706f9e39b2ca4c8fa93f9ca7c6459cf142f973cf#diff-e22af16a12488bb5478ce31dcf26da13ba5a95e051b2440a740ab6bc4ab0c4fd
vstinnerhttps://github.com/vstinner
Feb 15, 2017https://github.com/python/cpython/pull/97#discussion_r101412996
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/97
methanehttps://github.com/methane
Feb 16, 2017https://github.com/python/cpython/pull/97#discussion_r101415502
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/97
vstinnerhttps://github.com/vstinner
Feb 16, 2017https://github.com/python/cpython/pull/97#discussion_r101415738
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/97
https://github.com/methane
remove unused variable. fix inconsistency between arg format and argu…https://github.com/python/cpython/pull/97/commits/044f9fdf457302d74b7b33d016483295aabe8f2e
044f9fdhttps://github.com/python/cpython/pull/97/commits/044f9fdf457302d74b7b33d016483295aabe8f2e
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 16, 2017 https://github.com/python/cpython/pull/97#pullrequestreview-22144000
View reviewed changes https://github.com/python/cpython/pull/97/files/044f9fdf457302d74b7b33d016483295aabe8f2e
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Feb 16, 2017https://github.com/python/cpython/pull/97#event-964087260
https://github.com/methane
methanehttps://github.com/methane
72dccdehttps://github.com/python/cpython/commit/72dccde884d89586b0cafd990675b7e21720a81f
Feb 16, 2017https://github.com/python/cpython/pull/97#event-964113249
https://github.com/methane
methanehttps://github.com/methane
February 16, 2017 00:26https://github.com/python/cpython/pull/97#event-964113288
https://github.com/dhimmel
dhimmelhttps://github.com/dhimmel
Feb 16, 2017 https://github.com/python/cpython/pull/97#ref-issue-207679205
Automatically merge with passing tests and a +1 Review python/core-workflow#29 https://github.com/python/core-workflow/issues/29
akruishttps://github.com/akruis
Sep 9, 2017 https://github.com/python/cpython/pull/97#ref-commit-7ae6176
Stackless issuehttps://github.com/akruis/cpython/commit/7ae6176f2829807d491bc6b62a845ab3ec8e11b5
python#97https://github.com/python/cpython/pull/97
: Fix stack switching for optimized buildshttps://github.com/akruis/cpython/commit/7ae6176f2829807d491bc6b62a845ab3ec8e11b5
7ae6176https://github.com/akruis/cpython/commit/7ae6176f2829807d491bc6b62a845ab3ec8e11b5
https://bitbucket.org/stackless-dev/stackless/issues/98https://bitbucket.org/stackless-dev/stackless/issues/98
akruishttps://github.com/akruis
Sep 9, 2017 https://github.com/python/cpython/pull/97#ref-commit-b63c4e4
merge 3.4-slp (Stacklesshttps://github.com/akruis/cpython/commit/b63c4e49e3acf053608a8e6e0135a44a631aab3e
python#97https://github.com/python/cpython/pull/97
)https://github.com/akruis/cpython/commit/b63c4e49e3acf053608a8e6e0135a44a631aab3e
b63c4e4https://github.com/akruis/cpython/commit/b63c4e49e3acf053608a8e6e0135a44a631aab3e
Mr3x33https://github.com/Mr3x33
Sep 17, 2021 https://github.com/python/cpython/pull/97#ref-commit-c755279
https://github.com/Mr3x33
aaaahttps://github.com/Mr3x33/cpython/commit/c7552798ca1e8eb5919cd5e2606817123c879941
c755279https://github.com/Mr3x33/cpython/commit/c7552798ca1e8eb5919cd5e2606817123c879941
python#60https://github.com/python/cpython/pull/60
python#104https://github.com/python/cpython/pull/104
python#49https://github.com/python/cpython/pull/49
python#62https://github.com/python/cpython/pull/62
python#104https://github.com/python/cpython/pull/104
python#97https://github.com/python/cpython/pull/97
python#104https://github.com/python/cpython/pull/104
python#97https://github.com/python/cpython/pull/97
python#60https://github.com/python/cpython/pull/60
python#104https://github.com/python/cpython/pull/104
python#50https://github.com/python/cpython/pull/50
python#62https://github.com/python/cpython/pull/62
colesburyhttps://github.com/colesbury
Oct 6, 2021 https://github.com/python/cpython/pull/97#ref-commit-346528f
https://github.com/colesbury
qsbr: remove stop-the-world callhttps://github.com/colesbury/nogil/commit/346528ff189521eba59541adb25091ed9db68994
346528fhttps://github.com/colesbury/nogil/commit/346528ff189521eba59541adb25091ed9db68994
#97https://github.com/colesbury/nogil/issues/97
https://github.com/methane
methanehttps://github.com/methane
Aug 30, 2022 https://github.com/python/cpython/pull/97#ref-issue-1198968468
Recommend PyObject_Call* APIs over PyEval_Call*() APIs #73734 https://github.com/python/cpython/issues/73734
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Aug 22, 2023 https://github.com/python/cpython/pull/97#ref-issue-1860355520
heap-use-after-free in _PyFunction_LookupByVersion #108253 https://github.com/python/cpython/issues/108253
https://github.com/ngoldbaum
ngoldbaumhttps://github.com/ngoldbaum
Sep 23, 2024 https://github.com/python/cpython/pull/97#ref-issue-2543513896
Crash running PyO3 tests with --test-threads=1000 #124375 https://github.com/python/cpython/issues/124375
segmentfault when pip installing setuptools #129992 https://github.com/python/cpython/issues/129992
segmentfault when pip installing setuptools #129993 https://github.com/python/cpython/issues/129993
ambvhttps://github.com/ambv
Apr 8, 2025 https://github.com/python/cpython/pull/97#ref-commit-eeec1f6
https://github.com/pablogsal
Merge pull requesthttps://github.com/ambv/cpython/commit/eeec1f6f8869f21f91ff0673dd9f858d472fc581
#97https://github.com/ambv/cpython/pull/97
from ivonastojanovic/fix_windows_fileshttps://github.com/ambv/cpython/commit/eeec1f6f8869f21f91ff0673dd9f858d472fc581
eeec1f6https://github.com/ambv/cpython/commit/eeec1f6f8869f21f91ff0673dd9f858d472fc581
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Dec 18, 2025 https://github.com/python/cpython/pull/97#ref-issue-3715500921
Observed memory leak in ssl library: Python 3.14 GC issue #142516 https://github.com/python/cpython/issues/142516
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%2F97
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/97/files/044f9fdf457302d74b7b33d016483295aabe8f2e
performance https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance
Please reload this pagehttps://github.com/python/cpython/pull/97
https://github.com/methane
https://github.com/vstinner
https://github.com/zware
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.