René's URL Explorer Experiment


Title: gh-111495: improve test coverage of codecs C API by picnixz · Pull Request #126030 · python/cpython · GitHub

Open Graph Title: gh-111495: improve test coverage of codecs C API by picnixz · Pull Request #126030 · python/cpython

X Title: gh-111495: improve test coverage of codecs C API by picnixz · Pull Request #126030 · python/cpython

Description: I found out that not all handlers were tested and that there was a way to check which exceptions are currently crashing. Note that I must determine whether the exception will make the handler crash...

Open Graph Description: I found out that not all handlers were tested and that there was a way to check which exceptions are currently crashing. Note that I must determine whether the exception will make the handler crash...

X Description: I found out that not all handlers were tested and that there was a way to check which exceptions are currently crashing. Note that I must determine whether the exception will make the handler crash...

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

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:5d370ff5-7e25-7f55-5929-4c4b19489441
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D5C:2A6D10:275F58:320F23:696ADAFE
html-safe-nonce253209666bf6a4646e8da45a42d11bbed77fba95dc1a40d578dd5df11f7e8004
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDVDOjJBNkQxMDoyNzVGNTg6MzIwRjIzOjY5NkFEQUZFIiwidmlzaXRvcl9pZCI6IjczMjAwNDU2OTM1NzkyMjE3NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac82dc6f2d6125df7e25295d98aeed97603de21dc7868e88b562993743af37546b
hovercard-subject-tagpull_request:2147656844
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/126030/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dc53abba19a58d32c2de080f3f1306032c75620c95e9e9e7a739513fef5de394/python/cpython/pull/126030
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dc53abba19a58d32c2de080f3f1306032c75620c95e9e9e7a739513fef5de394/python/cpython/pull/126030
og:image:altI found out that not all handlers were tested and that there was a way to check which exceptions are currently crashing. Note that I must determine whether the exception will make the handler crash...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release524a93f2c1f36522a3b4be4c110467ee4172245d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/126030#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F126030
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%2F126030
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/126030
Reloadhttps://github.com/python/cpython/pull/126030
Reloadhttps://github.com/python/cpython/pull/126030
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/126030
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/126030
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/126030#issue-comment-box
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/c-api-codecs-test-111495https://github.com/picnixz/cpython/tree/fix/c-api-codecs-test-111495
gh-111495: improve test coverage of codecs C API https://github.com/python/cpython/pull/126030#top
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
picnixz:fix/c-api-codecs-test-111495https://github.com/picnixz/cpython/tree/fix/c-api-codecs-test-111495
Conversation 24 https://github.com/python/cpython/pull/126030
Commits 6 https://github.com/python/cpython/pull/126030/commits
Checks 0 https://github.com/python/cpython/pull/126030/checks
Files changed https://github.com/python/cpython/pull/126030/files
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 27, 2024https://github.com/python/cpython/pull/126030#issue-2616496298
Please reload this pagehttps://github.com/python/cpython/pull/126030
#123378https://github.com/python/cpython/issues/123378
#123378 (comment)https://github.com/python/cpython/issues/123378#issuecomment-2429127588
#123378 (comment)https://github.com/python/cpython/issues/123378#issuecomment-2439924914
#123378https://github.com/python/cpython/issues/123378
Add more C API tests #111495https://github.com/python/cpython/issues/111495
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/picnixz
improve test coverage of codecs C APIhttps://github.com/python/cpython/pull/126030/commits/8e3fdfe576624cf071ba3a78838ac6b30a69394b
8e3fdfehttps://github.com/python/cpython/pull/126030/commits/8e3fdfe576624cf071ba3a78838ac6b30a69394b
https://github.com/picnixz
picnixzhttps://github.com/picnixz
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Oct 27, 2024https://github.com/python/cpython/pull/126030#event-14922461145
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 27, 2024https://github.com/python/cpython/pull/126030#event-14922462758
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 27, 2024 https://github.com/python/cpython/pull/126030#ref-issue-1968561762
Add more C API tests #111495 https://github.com/python/cpython/issues/111495
https://github.com/picnixz
picnixzhttps://github.com/picnixz
encukouhttps://github.com/encukou
vstinnerhttps://github.com/vstinner
October 27, 2024 10:36https://github.com/python/cpython/pull/126030#event-14922470580
https://github.com/encukou
encukouhttps://github.com/encukou
Oct 28, 2024https://github.com/python/cpython/pull/126030#issuecomment-2441659880
Please reload this pagehttps://github.com/python/cpython/pull/126030
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 28, 2024https://github.com/python/cpython/pull/126030#issuecomment-2441668352
Please reload this pagehttps://github.com/python/cpython/pull/126030
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 29, 2024https://github.com/python/cpython/pull/126030#issuecomment-2443521941
@encukouhttps://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/encukou
encukouhttps://github.com/encukou
Oct 29, 2024https://github.com/python/cpython/pull/126030#issuecomment-2444178928
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/encukou
encukouhttps://github.com/encukou
Oct 29, 2024 https://github.com/python/cpython/pull/126030#pullrequestreview-2401758438
View reviewed changes https://github.com/python/cpython/pull/126030/files/8e3fdfe576624cf071ba3a78838ac6b30a69394b
encukouhttps://github.com/encukou
https://github.com/python/cpython/pull/126030#pullrequestreview-2401758438
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/126030
Lib/test/test_capi/test_codecs.pyhttps://github.com/python/cpython/pull/126030/files/8e3fdfe576624cf071ba3a78838ac6b30a69394b#diff-56288e8a4da3618995c4eda56248372e0e468c9232c14136567cdadadebd8dd4
Please reload this pagehttps://github.com/python/cpython/pull/126030
Lib/test/test_capi/test_codecs.pyhttps://github.com/python/cpython/pull/126030/files/8e3fdfe576624cf071ba3a78838ac6b30a69394b#diff-56288e8a4da3618995c4eda56248372e0e468c9232c14136567cdadadebd8dd4
Please reload this pagehttps://github.com/python/cpython/pull/126030
Lib/test/test_capi/test_codecs.pyhttps://github.com/python/cpython/pull/126030/files/8e3fdfe576624cf071ba3a78838ac6b30a69394b#diff-56288e8a4da3618995c4eda56248372e0e468c9232c14136567cdadadebd8dd4
Please reload this pagehttps://github.com/python/cpython/pull/126030
Lib/test/test_capi/test_codecs.pyhttps://github.com/python/cpython/pull/126030/files/8e3fdfe576624cf071ba3a78838ac6b30a69394b#diff-56288e8a4da3618995c4eda56248372e0e468c9232c14136567cdadadebd8dd4
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 29, 2024https://github.com/python/cpython/pull/126030#issuecomment-2444256982
Please reload this pagehttps://github.com/python/cpython/pull/126030
picnixzhttps://github.com/picnixz
October 29, 2024 14:46https://github.com/python/cpython/pull/126030#commits-pushed-03959c4
https://github.com/picnixz
address Petr's reviewhttps://github.com/python/cpython/pull/126030/commits/03959c4195f48d532b4221f61839932eb537ea49
03959c4https://github.com/python/cpython/pull/126030/commits/03959c4195f48d532b4221f61839932eb537ea49
https://github.com/picnixz
Simplify testshttps://github.com/python/cpython/pull/126030/commits/b993a2e23a83925e90ba8bf0c1205c609ec7d1e3
b993a2ehttps://github.com/python/cpython/pull/126030/commits/b993a2e23a83925e90ba8bf0c1205c609ec7d1e3
https://github.com/picnixz
Simplify testshttps://github.com/python/cpython/pull/126030/commits/69d0643f1c3fdb53db341a13bc13ab628a71e916
69d0643https://github.com/python/cpython/pull/126030/commits/69d0643f1c3fdb53db341a13bc13ab628a71e916
https://github.com/encukou
encukouhttps://github.com/encukou
Oct 31, 2024 https://github.com/python/cpython/pull/126030#pullrequestreview-2408293080
View reviewed changes https://github.com/python/cpython/pull/126030/files/69d0643f1c3fdb53db341a13bc13ab628a71e916
encukouhttps://github.com/encukou
https://github.com/python/cpython/pull/126030#pullrequestreview-2408293080
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/126030
Lib/test/test_capi/test_codecs.pyhttps://github.com/python/cpython/pull/126030/files/69d0643f1c3fdb53db341a13bc13ab628a71e916#diff-56288e8a4da3618995c4eda56248372e0e468c9232c14136567cdadadebd8dd4
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 31, 2024https://github.com/python/cpython/pull/126030#event-15039130902
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 31, 2024 https://github.com/python/cpython/pull/126030#pullrequestreview-2408312241
View reviewed changes https://github.com/python/cpython/pull/126030/files/69d0643f1c3fdb53db341a13bc13ab628a71e916
Lib/test/test_capi/test_codecs.pyhttps://github.com/python/cpython/pull/126030/files/69d0643f1c3fdb53db341a13bc13ab628a71e916#diff-56288e8a4da3618995c4eda56248372e0e468c9232c14136567cdadadebd8dd4
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/picnixz
Update Lib/test/test_capi/test_codecs.pyhttps://github.com/python/cpython/pull/126030/commits/05f75b6bb7d1bbb9f191ba51cdcfda5a26fd6ffe
05f75b6https://github.com/python/cpython/pull/126030/commits/05f75b6bb7d1bbb9f191ba51cdcfda5a26fd6ffe
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 31, 2024https://github.com/python/cpython/pull/126030#issuecomment-2450185714
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/encukou
encukouhttps://github.com/encukou
Nov 1, 2024 https://github.com/python/cpython/pull/126030#pullrequestreview-2410019735
View reviewed changes https://github.com/python/cpython/pull/126030/files/05f75b6bb7d1bbb9f191ba51cdcfda5a26fd6ffe
Lib/test/test_capi/test_codecs.pyhttps://github.com/python/cpython/pull/126030/files/05f75b6bb7d1bbb9f191ba51cdcfda5a26fd6ffe#diff-56288e8a4da3618995c4eda56248372e0e468c9232c14136567cdadadebd8dd4
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/picnixz
https://github.com/encukou
Update Lib/test/test_capi/test_codecs.pyhttps://github.com/python/cpython/pull/126030/commits/c36232a650a9d3f579e2b383f153a0cad9e4b517
c36232ahttps://github.com/python/cpython/pull/126030/commits/c36232a650a9d3f579e2b383f153a0cad9e4b517
https://github.com/encukou
encukouhttps://github.com/encukou
November 1, 2024 13:14https://github.com/python/cpython/pull/126030#event-15067549552
https://github.com/encukou
encukouhttps://github.com/encukou
32e07fdhttps://github.com/python/cpython/commit/32e07fd377f81cbeb8c108fc791a3e7d631319b6
Nov 1, 2024https://github.com/python/cpython/pull/126030#event-15067864559
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Nov 1, 2024https://github.com/python/cpython/pull/126030#event-15067866569
https://github.com/picnixz
picnixzhttps://github.com/picnixz
November 1, 2024 13:32https://github.com/python/cpython/pull/126030#event-15067969731
picnixzhttps://github.com/picnixz
Dec 8, 2024 https://github.com/python/cpython/pull/126030#ref-commit-629634a
https://github.com/picnixz
pythongh-111495https://github.com/python/cpython/issues/111495
: improve test coverage of codecs C API (https://github.com/picnixz/cpython/commit/629634ad11a6a08e005928a024b2f082e4eb1c2c
pythonGH-126030https://github.com/python/cpython/pull/126030
)https://github.com/picnixz/cpython/commit/629634ad11a6a08e005928a024b2f082e4eb1c2c
629634ahttps://github.com/picnixz/cpython/commit/629634ad11a6a08e005928a024b2f082e4eb1c2c
pythongh-123378https://github.com/python/cpython/issues/123378
ebonnalhttps://github.com/ebonnal
Jan 12, 2025 https://github.com/python/cpython/pull/126030#ref-commit-2ea6baa
https://github.com/picnixz
https://github.com/ebonnal
pythongh-111495https://github.com/python/cpython/issues/111495
: improve test coverage of codecs C API (https://github.com/ebonnal/cpython/commit/2ea6baaace20ee35ec5bfa25b6017811bfc5da90
pythonGH-126030https://github.com/python/cpython/pull/126030
)https://github.com/ebonnal/cpython/commit/2ea6baaace20ee35ec5bfa25b6017811bfc5da90
2ea6baahttps://github.com/ebonnal/cpython/commit/2ea6baaace20ee35ec5bfa25b6017811bfc5da90
pythongh-123378https://github.com/python/cpython/issues/123378
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%2F126030
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/python/cpython/pull/126030/files/05f75b6bb7d1bbb9f191ba51cdcfda5a26fd6ffe
https://github.com/vstinner
vstinner https://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Please reload this pagehttps://github.com/python/cpython/pull/126030
https://github.com/picnixz
https://github.com/encukou
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.