René's URL Explorer Experiment


Title: gh-94808:Improve coverage of PyObject_Print by MonadChains · Pull Request #98749 · python/cpython · GitHub

Open Graph Title: gh-94808:Improve coverage of PyObject_Print by MonadChains · Pull Request #98749 · python/cpython

X Title: gh-94808:Improve coverage of PyObject_Print by MonadChains · Pull Request #98749 · python/cpython

Description: This PR improves the coverage of the function PyObject_Print: cpython/Objects/object.c Line 256 in 29b391b PyObject_Print(PyObject *op, FILE *fp, int flags) The coverage achieved is the following: I couldn't hit line 294, I'm open for discussion on how to do this. Issue: gh-94808

Open Graph Description: This PR improves the coverage of the function PyObject_Print: cpython/Objects/object.c Line 256 in 29b391b ...

X Description: This PR improves the coverage of the function PyObject_Print: cpython/Objects/object.c Line 256 in 29b391b ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8e36712d-d876-7fea-300e-49c2e48c70ad
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id995A:250A02:1022492:157E94C:696992E6
html-safe-noncea8ae0be40c85ad2047bb7f792bfe8d1c81579857b5ea91f926f396d75441bf95
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTVBOjI1MEEwMjoxMDIyNDkyOjE1N0U5NEM6Njk2OTkyRTYiLCJ2aXNpdG9yX2lkIjoiODA4OTU3MzY0Mzk3MzY2MTQxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5eccaa00e9776c7fb7cfea4bd414278a40220dbbcff8f64dd34de0c966278b6c
hovercard-subject-tagpull_request:1100973158
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/98749/files
twitter:imagehttps://avatars.githubusercontent.com/u/105170638?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/105170638?s=400&v=4
og:image:altThis PR improves the coverage of the function PyObject_Print: cpython/Objects/object.c Line 256 in 29b391b ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751
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
releaseaf80af7cc9e3de9c336f18b208a600950a3c187c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/98749/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F98749%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%2F98749%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/98749/files
Reloadhttps://github.com/python/cpython/pull/98749/files
Reloadhttps://github.com/python/cpython/pull/98749/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/98749/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/98749/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
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
MonadChains:gh-94808/improve-coverage-pyobject-printhttps://github.com/MonadChains/cpython/tree/gh-94808/improve-coverage-pyobject-print
Conversation 6 https://github.com/python/cpython/pull/98749
Commits 10 https://github.com/python/cpython/pull/98749/commits
Checks 0 https://github.com/python/cpython/pull/98749/checks
Files changed https://github.com/python/cpython/pull/98749/files
Please reload this pagehttps://github.com/python/cpython/pull/98749/files
gh-94808:Improve coverage of PyObject_Print https://github.com/python/cpython/pull/98749/files#top
Show all changes 10 commits https://github.com/python/cpython/pull/98749/files
7055a43 Improve coverage of PyObject_Print MonadChains Oct 26, 2022 https://github.com/python/cpython/pull/98749/commits/7055a432f11ca811e32dbb85899d74dcba70f810
562b9d2 Merge branch 'main' into gh-94808/improve-coverage-pyobject-print MonadChains Oct 27, 2022 https://github.com/python/cpython/pull/98749/commits/562b9d26db7e766741c954146d4423eda414d2f6
25c24e4 Close file when error is returned MonadChains Oct 28, 2022 https://github.com/python/cpython/pull/98749/commits/25c24e4e724680b438e78e2e40498c9688c737bd
64d8d19 Merge branch 'main' into gh-94808/improve-coverage-pyobject-print MonadChains Nov 1, 2022 https://github.com/python/cpython/pull/98749/commits/64d8d1938bb423c2ef5c1a61d4bbeb140c7cb2b8
2202e4a Rework negative reference test MonadChains Nov 1, 2022 https://github.com/python/cpython/pull/98749/commits/2202e4a6dea2afb2ae1fe5025c3cb026bd525411
2bbb608 Merge in the main branch encukou Mar 25, 2024 https://github.com/python/cpython/pull/98749/commits/2bbb608293381f6b2a33e2d070c743faf99e0ce4
abf998e Move the new tests encukou Mar 25, 2024 https://github.com/python/cpython/pull/98749/commits/abf998e373b31fb9943d1519032b6f9d896210af
d8e2e0e Nitpicks encukou Mar 25, 2024 https://github.com/python/cpython/pull/98749/commits/d8e2e0ee53b5950e683bf74ea687db727cb653ac
355e8e4 Use Py_SET_REFCNT rather than ob_refcnt encukou Mar 25, 2024 https://github.com/python/cpython/pull/98749/commits/355e8e43102c3fc8a04e60b51e4df37a6fc89caf
c14d4dd Merge in the main branch encukou Apr 1, 2024 https://github.com/python/cpython/pull/98749/commits/c14d4dd449dede811866d86d729ccdc870dd19f5
Clear filters https://github.com/python/cpython/pull/98749/files
Please reload this pagehttps://github.com/python/cpython/pull/98749/files
Please reload this pagehttps://github.com/python/cpython/pull/98749/files
test_object.py https://github.com/python/cpython/pull/98749/files#diff-52e6252e0b6d4e65c67992a1a0cd28d22ff7bde38f5b498c1507290451c760c4
test_class.py https://github.com/python/cpython/pull/98749/files#diff-bf3be6f0945680546707ba6d4c9bb4d90c4381ad6fe342a45fbeab47a536e18e
Setup.stdlib.in https://github.com/python/cpython/pull/98749/files#diff-93b54a98829ea89eaf6335c02f546511f7780d865131407436b10a401ecd375c
object.c https://github.com/python/cpython/pull/98749/files#diff-ba56caeed71bb5fb5781aa6e516ff1a58a07022355bc66f3ef51ecefb5146d37
parts.h https://github.com/python/cpython/pull/98749/files#diff-cda7cf7eb449238a999023ecd2b9e421c402b83d4ab7a16d2bf9cce68dad32ba
_testcapimodule.c https://github.com/python/cpython/pull/98749/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
_testcapi.vcxproj https://github.com/python/cpython/pull/98749/files#diff-84a64a18e83c2b6057a2eb75ee9c6bf2695a4948b62f8bd268a0f4f46d774830
_testcapi.vcxproj.filters https://github.com/python/cpython/pull/98749/files#diff-5772d42704a7c3ceafeaabcda5f995cb70bd48acd70c9c4d2e5bf2319a706bb3
Lib/test/test_capi/test_object.pyhttps://github.com/python/cpython/pull/98749/files#diff-52e6252e0b6d4e65c67992a1a0cd28d22ff7bde38f5b498c1507290451c760c4
View file https://github.com/MonadChains/cpython/blob/c14d4dd449dede811866d86d729ccdc870dd19f5/Lib/test/test_capi/test_object.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/98749/{{ revealButtonHref }}
https://github.com/python/cpython/pull/98749/files#diff-52e6252e0b6d4e65c67992a1a0cd28d22ff7bde38f5b498c1507290451c760c4
https://github.com/python/cpython/pull/98749/files#diff-52e6252e0b6d4e65c67992a1a0cd28d22ff7bde38f5b498c1507290451c760c4
https://github.com/python/cpython/pull/98749/files#diff-52e6252e0b6d4e65c67992a1a0cd28d22ff7bde38f5b498c1507290451c760c4
Lib/test/test_class.pyhttps://github.com/python/cpython/pull/98749/files#diff-bf3be6f0945680546707ba6d4c9bb4d90c4381ad6fe342a45fbeab47a536e18e
View file https://github.com/MonadChains/cpython/blob/c14d4dd449dede811866d86d729ccdc870dd19f5/Lib/test/test_class.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/98749/{{ revealButtonHref }}
https://github.com/python/cpython/pull/98749/files#diff-bf3be6f0945680546707ba6d4c9bb4d90c4381ad6fe342a45fbeab47a536e18e
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L86
Modules/Setup.stdlib.inhttps://github.com/python/cpython/pull/98749/files#diff-93b54a98829ea89eaf6335c02f546511f7780d865131407436b10a401ecd375c
View file https://github.com/MonadChains/cpython/blob/c14d4dd449dede811866d86d729ccdc870dd19f5/Modules/Setup.stdlib.in
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/98749/{{ revealButtonHref }}
https://github.com/python/cpython/pull/98749/files#diff-93b54a98829ea89eaf6335c02f546511f7780d865131407436b10a401ecd375c
https://github.com/python/cpython/pull/98749/files#diff-93b54a98829ea89eaf6335c02f546511f7780d865131407436b10a401ecd375c
Modules/_testcapi/object.chttps://github.com/python/cpython/pull/98749/files#diff-ba56caeed71bb5fb5781aa6e516ff1a58a07022355bc66f3ef51ecefb5146d37
View file https://github.com/MonadChains/cpython/blob/c14d4dd449dede811866d86d729ccdc870dd19f5/Modules/_testcapi/object.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/98749/{{ revealButtonHref }}
Modules/_testcapi/parts.hhttps://github.com/python/cpython/pull/98749/files#diff-cda7cf7eb449238a999023ecd2b9e421c402b83d4ab7a16d2bf9cce68dad32ba
View file https://github.com/MonadChains/cpython/blob/c14d4dd449dede811866d86d729ccdc870dd19f5/Modules/_testcapi/parts.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/98749/{{ revealButtonHref }}
https://github.com/python/cpython/pull/98749/files#diff-cda7cf7eb449238a999023ecd2b9e421c402b83d4ab7a16d2bf9cce68dad32ba
Modules/_testcapimodule.chttps://github.com/python/cpython/pull/98749/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
View file https://github.com/MonadChains/cpython/blob/c14d4dd449dede811866d86d729ccdc870dd19f5/Modules/_testcapimodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/98749/{{ revealButtonHref }}
https://github.com/python/cpython/pull/98749/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
https://github.com/python/cpython/pull/98749/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L185
PCbuild/_testcapi.vcxprojhttps://github.com/python/cpython/pull/98749/files#diff-84a64a18e83c2b6057a2eb75ee9c6bf2695a4948b62f8bd268a0f4f46d774830
View file https://github.com/MonadChains/cpython/blob/c14d4dd449dede811866d86d729ccdc870dd19f5/PCbuild/_testcapi.vcxproj
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/98749/{{ revealButtonHref }}
https://github.com/python/cpython/pull/98749/files#diff-84a64a18e83c2b6057a2eb75ee9c6bf2695a4948b62f8bd268a0f4f46d774830
https://github.com/python/cpython/pull/98749/files#diff-84a64a18e83c2b6057a2eb75ee9c6bf2695a4948b62f8bd268a0f4f46d774830
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L185
PCbuild/_testcapi.vcxproj.filtershttps://github.com/python/cpython/pull/98749/files#diff-5772d42704a7c3ceafeaabcda5f995cb70bd48acd70c9c4d2e5bf2319a706bb3
View file https://github.com/MonadChains/cpython/blob/c14d4dd449dede811866d86d729ccdc870dd19f5/PCbuild/_testcapi.vcxproj.filters
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/98749/{{ revealButtonHref }}
https://github.com/python/cpython/pull/98749/files#diff-5772d42704a7c3ceafeaabcda5f995cb70bd48acd70c9c4d2e5bf2319a706bb3
https://github.com/python/cpython/pull/98749/files#diff-5772d42704a7c3ceafeaabcda5f995cb70bd48acd70c9c4d2e5bf2319a706bb3
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.