René's URL Explorer Experiment


Title: gh-149306: Improve error messages in wave module to include the offending value by htjworld · Pull Request #149307 · python/cpython · GitHub

Open Graph Title: gh-149306: Improve error messages in wave module to include the offending value by htjworld · Pull Request #149307 · python/cpython

X Title: gh-149306: Improve error messages in wave module to include the offending value by htjworld · Pull Request #149307 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Summary Include the offending value in wave.Error messages raised by: Wave_read._read_fmt_chunk (parses WAV file header) Wave_write.setnchannels Wave_write.setsampwidth Wave_write.setframerate Be...

X Description: Summary Include the offending value in wave.Error messages raised by: Wave_read._read_fmt_chunk (parses WAV file header) Wave_write.setnchannels Wave_write.setsampwidth Wave_write.setframerate Be...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:7708cdd6-9768-2cce-b0df-5fdd47231bbe
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB67A:7FFC:336678:449520:6AECC855
html-safe-nonce151a01238b17eece587551512cadc33ced761c9e0278a481e4fa818240044f16
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjdBOjdGRkM6MzM2Njc4OjQ0OTUyMDo2QUVDQzg1NSIsInZpc2l0b3JfaWQiOiIyNTI1MTg4NDM4MjE4Mjk1MzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6dd83b90abd5ca67eebf34e87348c212cac67e59aa49bfb69173294f3bd97826
hovercard-subject-tagpull_request:3619142718
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/149307/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5177c4ed35f2b5f3dcfd8c81a7fcf8591fb73d30a9248f1703fcf1ee1d625692/python/cpython/pull/149307
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5177c4ed35f2b5f3dcfd8c81a7fcf8591fb73d30a9248f1703fcf1ee1d625692/python/cpython/pull/149307
og:image:altSummary Include the offending value in wave.Error messages raised by: Wave_read._read_fmt_chunk (parses WAV file header) Wave_write.setnchannels Wave_write.setsampwidth Wave_write.setframerate Be...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehtjworld
hostnamegithub.com
expected-hostnamegithub.com
Nonedc0b519c5798dc1150b88dc4c06a8b9634d0069218dc04e469970e76aad74016
turbo-cache-controlno-cache
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
releasedb139f0bf57b59bf9a8c4abb0849924d6c6ca559
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/149307#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149307
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149307
Sign uphttps://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/149307
Reloadhttps://github.com/python/cpython/pull/149307
Reloadhttps://github.com/python/cpython/pull/149307
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.3k (2.3k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/pulse
https://github.com/python/cpython
htjworldhttps://github.com/htjworld
python:mainhttps://github.com/python/cpython/tree/main
htjworld:gh-149306-wave-error-messageshttps://github.com/htjworld/cpython/tree/gh-149306-wave-error-messages
Conversationhttps://github.com/python/cpython/pull/149307
Commits3 (3)https://github.com/python/cpython/pull/149307/commits
Checkshttps://github.com/python/cpython/pull/149307/checks
Files changedhttps://github.com/python/cpython/pull/149307/files
gh-149306: Improve error messages in wave module to include the offending valuehttps://github.com/python/cpython/pull/149307#top
htjworldhttps://github.com/htjworld
python:mainhttps://github.com/python/cpython/tree/main
htjworld:gh-149306-wave-error-messageshttps://github.com/htjworld/cpython/tree/gh-149306-wave-error-messages
https://github.com/htjworld
htjworldhttps://github.com/htjworld
May 3, 2026https://github.com/python/cpython/pull/149307#issue-4370624105
Please reload this pagehttps://github.com/python/cpython/pull/149307
gh-144976https://github.com/python/cpython/pull/144976
statistics: Fix geometric_mean() error message for negative inputs #149246https://github.com/python/cpython/pull/149246
Improve wave module error messages to include the offending value #149306https://github.com/python/cpython/issues/149306
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/htjworld
pythongh-149306https://github.com/python/cpython/issues/149306
: Improve error messages in wave module to include the…https://github.com/python/cpython/pull/149307/commits/d1ba7081e2f5e997fd94fc4fb89a21448c876fe5
d1ba708https://github.com/python/cpython/pull/149307/commits/d1ba7081e2f5e997fd94fc4fb89a21448c876fe5
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 3, 2026https://github.com/python/cpython/pull/149307#event-25101520098
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 3, 2026 https://github.com/python/cpython/pull/149307#ref-issue-4370617723
Improve wave module error messages to include the offending value #149306 https://github.com/python/cpython/issues/149306
https://github.com/htjworld
htjworldhttps://github.com/htjworld
force-pushedhttps://github.com/python/cpython/compare/cc28830b8684a087f5f64c428dc341cf3317a2ad..d1ba7081e2f5e997fd94fc4fb89a21448c876fe5
cc28830https://github.com/python/cpython/commit/cc28830b8684a087f5f64c428dc341cf3317a2ad
d1ba708https://github.com/python/cpython/commit/d1ba7081e2f5e997fd94fc4fb89a21448c876fe5
Compare https://github.com/python/cpython/compare/cc28830b8684a087f5f64c428dc341cf3317a2ad..d1ba7081e2f5e997fd94fc4fb89a21448c876fe5
May 3, 2026 02:14https://github.com/python/cpython/pull/149307#event-25101558137
https://github.com/htjworld
Merge remote-tracking branch 'upstream/main' intohttps://github.com/python/cpython/pull/149307/commits/52c4f5e94c003662ca9a8e3756de9484def59c97
pythongh-149306https://github.com/python/cpython/issues/149306
-wav…https://github.com/python/cpython/pull/149307/commits/52c4f5e94c003662ca9a8e3756de9484def59c97
52c4f5ehttps://github.com/python/cpython/pull/149307/commits/52c4f5e94c003662ca9a8e3756de9484def59c97
https://github.com/picnixz
picnixzhttps://github.com/picnixz
May 3, 2026 https://github.com/python/cpython/pull/149307#pullrequestreview-4216255998
View reviewed changes https://github.com/python/cpython/pull/149307/files/52c4f5e94c003662ca9a8e3756de9484def59c97
Lib/wave.pyhttps://github.com/python/cpython/pull/149307/files/52c4f5e94c003662ca9a8e3756de9484def59c97#diff-8e67a696f050c6abebc661b71a215e2c2bb8d0bb2f27ee2ba25adecc8b1b094c
picnixzhttps://github.com/picnixz
May 3, 2026https://github.com/python/cpython/pull/149307#discussion_r3178053653
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149307
Lib/wave.pyhttps://github.com/python/cpython/pull/149307/files/52c4f5e94c003662ca9a8e3756de9484def59c97#diff-8e67a696f050c6abebc661b71a215e2c2bb8d0bb2f27ee2ba25adecc8b1b094c
picnixzhttps://github.com/picnixz
May 3, 2026https://github.com/python/cpython/pull/149307#discussion_r3178054319
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149307
Lib/test/test_wave.pyhttps://github.com/python/cpython/pull/149307/files/52c4f5e94c003662ca9a8e3756de9484def59c97#diff-a199f1748809afe147b8e298adaef9a1af3bcf7c519b64823b573a47c4e55bbe
picnixzhttps://github.com/picnixz
May 3, 2026https://github.com/python/cpython/pull/149307#discussion_r3178055948
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 3, 2026https://github.com/python/cpython/pull/149307#event-25106439978
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 3, 2026https://github.com/python/cpython/pull/149307#issuecomment-4366089111
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
May 3, 2026https://github.com/python/cpython/pull/149307#event-25106440069
https://github.com/htjworld
Address review: revert _read_fmt_chunk unpack, rename rounded_framera…https://github.com/python/cpython/pull/149307/commits/2d4c5e43537292b5cb02ecb7e7f878a7e8deb868
2d4c5e4https://github.com/python/cpython/pull/149307/commits/2d4c5e43537292b5cb02ecb7e7f878a7e8deb868
https://github.com/htjworld
htjworldhttps://github.com/htjworld
May 3, 2026https://github.com/python/cpython/pull/149307#issuecomment-4366122010
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
May 3, 2026https://github.com/python/cpython/pull/149307#event-25106676579
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 3, 2026https://github.com/python/cpython/pull/149307#issuecomment-4366122192
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
picnixzhttps://github.com/picnixz
May 3, 2026 12:02https://github.com/python/cpython/pull/149307#event-25106677047
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
May 3, 2026https://github.com/python/cpython/pull/149307#issuecomment-4366126563
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#32514806https://app.readthedocs.org/projects/cpython-previews/builds/32514806/
2d4c5e4https://github.com/python/cpython/commit/2d4c5e43537292b5cb02ecb7e7f878a7e8deb868
mainhttps://cpython-previews.readthedocs.io/en/main/
836fbdahttps://github.com/python/cpython/commit/836fbdaaf32c355c7e8fb0af69f78fbbb28af8b1
  🔍 Preview build   https://cpython-previews--149307.org.readthedocs.build/en/149307/
genindex-E.htmlhttps://cpython-previews--149307.org.readthedocs.build/en/149307/genindex-E.html
genindex-H.htmlhttps://cpython-previews--149307.org.readthedocs.build/en/149307/genindex-H.html
genindex-Symbols.htmlhttps://cpython-previews--149307.org.readthedocs.build/en/149307/genindex-Symbols.html
genindex-all.htmlhttps://cpython-previews--149307.org.readthedocs.build/en/149307/genindex-all.html
library/http.server.htmlhttps://cpython-previews--149307.org.readthedocs.build/en/149307/library/http.server.html
library/unittest.htmlhttps://cpython-previews--149307.org.readthedocs.build/en/149307/library/unittest.html
whatsnew/3.15.htmlhttps://cpython-previews--149307.org.readthedocs.build/en/149307/whatsnew/3.15.html
whatsnew/changelog.htmlhttps://cpython-previews--149307.org.readthedocs.build/en/149307/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/htjworld
htjworldhttps://github.com/htjworld
May 31, 2026https://github.com/python/cpython/pull/149307#issuecomment-4585909592
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 30, 2026https://github.com/python/cpython/pull/149307#issuecomment-5468588616
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 30, 2026https://github.com/python/cpython/pull/149307#event-30235367989
https://github.com/htjworld
htjworldhttps://github.com/htjworld
Aug 31, 2026https://github.com/python/cpython/pull/149307#issuecomment-5472945973
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Sep 5, 2026https://github.com/python/cpython/pull/149307#event-30606116474
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F149307
https://github.com/picnixz
picnixz https://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/149307
awaiting change review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/149307
https://github.com/htjworld
https://github.com/picnixz
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.