René's URL Explorer Experiment


Title: gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset by serhiy-storchaka · Pull Request #116125 · python/cpython · GitHub

Open Graph Title: gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset by serhiy-storchaka · Pull Request #116125 · python/cpython

X Title: gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset by serhiy-storchaka · Pull Request #116125 · python/cpython

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

Open Graph Description: Issue: Email parser creates a message object that can't be flattened #76511

X Description: Issue: Email parser creates a message object that can't be flattened #76511

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

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:ffdb48db-b786-52c2-7521-b937e9cc89ee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB898:1DEA4C:A3E770:A7860E:6A4DB3EF
html-safe-nonce0d228ed163f9618916df9ad472a79dfb42d4881e3a77a7381f853b4b96368bc9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODk4OjFERUE0QzpBM0U3NzA6QTc4NjBFOjZBNERCM0VGIiwidmlzaXRvcl9pZCI6IjI1ODczODAzMzc3NDgwNjMyMTUiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ==
visitor-hmac6bd1a9947a77082a602978cd8d09248aba56b0a00429cae683e7c93d8286f33c
hovercard-subject-tagpull_request:1749970658
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/116125/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/10751b898e6b4fc1081e3d1ad881ba37c51fd9944f1974926761c989e3fc77af/python/cpython/pull/116125
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/10751b898e6b4fc1081e3d1ad881ba37c51fd9944f1974926761c989e3fc77af/python/cpython/pull/116125
og:image:altIssue: Email parser creates a message object that can't be flattened #76511
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
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
release32f7b614aca06e6bbd89842b1370df1328264f68
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/116125#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F116125
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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%2F116125
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/116125
Reloadhttps://github.com/python/cpython/pull/116125
Reloadhttps://github.com/python/cpython/pull/116125
Please reload this pagehttps://github.com/python/cpython/pull/116125
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/116125
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:email-nonascii-as_stringhttps://github.com/serhiy-storchaka/cpython/tree/email-nonascii-as_string
Conversationhttps://github.com/python/cpython/pull/116125
Commits2 (2)https://github.com/python/cpython/pull/116125/commits
Checkshttps://github.com/python/cpython/pull/116125/checks
Files changedhttps://github.com/python/cpython/pull/116125/files
gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charsethttps://github.com/python/cpython/pull/116125#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:email-nonascii-as_stringhttps://github.com/serhiy-storchaka/cpython/tree/email-nonascii-as_string
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Feb 29, 2024https://github.com/python/cpython/pull/116125#issue-2161483475
Please reload this pagehttps://github.com/python/cpython/pull/116125
Email parser creates a message object that can't be flattened #76511https://github.com/python/cpython/issues/76511
Please reload this pagehttps://github.com/python/cpython/pull/116125
https://github.com/serhiy-storchaka
pythongh-76511https://github.com/python/cpython/issues/76511
: Fix email.Message.as_string() for non-ASCII message w…https://github.com/python/cpython/pull/116125/commits/523f8ca935d5d255a3efb5c1b257ce38b0939942
523f8cahttps://github.com/python/cpython/pull/116125/commits/523f8ca935d5d255a3efb5c1b257ce38b0939942
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Feb 29, 2024https://github.com/python/cpython/pull/116125#event-11967443697
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
code ownerhttps://github.com/python/cpython/blob/6a86030bc2519b4a6b055e0b47b9870c86db8588/.github/CODEOWNERS#L134
February 29, 2024 15:09https://github.com/python/cpython/pull/116125#event-11967443879
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 29, 2024https://github.com/python/cpython/pull/116125#event-11967444892
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 29, 2024 https://github.com/python/cpython/pull/116125#ref-issue-1198984430
Email parser creates a message object that can't be flattened #76511 https://github.com/python/cpython/issues/76511
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Feb 29, 2024 https://github.com/python/cpython/pull/116125#ref-pullrequest-551875337
bpo-32330 Replace invalid characters in email.message.set_payload(). #18059 https://github.com/python/cpython/pull/18059
https://github.com/bitdancer
bitdancerhttps://github.com/bitdancer
Mar 1, 2024 https://github.com/python/cpython/pull/116125#pullrequestreview-1911240204
View reviewed changes https://github.com/python/cpython/pull/116125/files/523f8ca935d5d255a3efb5c1b257ce38b0939942
Misc/NEWS.d/next/Library/2024-02-29-17-06-54.gh-issue-76511.WqjRLP.rsthttps://github.com/python/cpython/pull/116125/files/523f8ca935d5d255a3efb5c1b257ce38b0939942#diff-1b949b10975dd5979dda799d9a70f9756a5b5517e44571c030aa91ba26421759
bitdancerhttps://github.com/bitdancer
Mar 1, 2024https://github.com/python/cpython/pull/116125#discussion_r1509050334
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/116125
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 1, 2024https://github.com/python/cpython/pull/116125#discussion_r1509138622
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@bitdancerhttps://github.com/bitdancer
Please reload this pagehttps://github.com/python/cpython/pull/116125
https://github.com/serhiy-storchaka
Update the NEWS entry.https://github.com/python/cpython/pull/116125/commits/d8f86c81b7899b4388bebc037581a0b407b6f0d5
d8f86c8https://github.com/python/cpython/pull/116125/commits/d8f86c81b7899b4388bebc037581a0b407b6f0d5
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
f97f25ehttps://github.com/python/cpython/commit/f97f25ef5dfcdfec0d9a359fd970abd139cf3428
Mar 5, 2024https://github.com/python/cpython/pull/116125#event-12016046824
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Mar 5, 2024https://github.com/python/cpython/pull/116125#issuecomment-1979080648
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/116125
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 5, 2024https://github.com/python/cpython/pull/116125#event-12016047616
miss-islingtonhttps://github.com/miss-islington
Mar 5, 2024 https://github.com/python/cpython/pull/116125#ref-commit-6b18987
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-76511https://github.com/python/cpython/issues/76511
: Fix email.Message.as_string() for non-ASCII message w…https://github.com/miss-islington/cpython/commit/6b18987171079fd0da05fc9539bbcb492cba61c7
6b18987https://github.com/miss-islington/cpython/commit/6b18987171079fd0da05fc9539bbcb492cba61c7
pythonGH-116125https://github.com/python/cpython/pull/116125
f97f25ehttps://github.com/miss-islington/cpython/commit/f97f25ef5dfcdfec0d9a359fd970abd139cf3428
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 5, 2024https://github.com/python/cpython/pull/116125#issuecomment-1979080965
GH-116364https://github.com/python/cpython/pull/116364
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/116125
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Mar 5, 2024https://github.com/python/cpython/pull/116125#event-12016049908
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
March 5, 2024 15:49https://github.com/python/cpython/pull/116125#event-12016049987
miss-islingtonhttps://github.com/miss-islington
Mar 5, 2024 https://github.com/python/cpython/pull/116125#ref-commit-3d4d722
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-76511https://github.com/python/cpython/issues/76511
: Fix email.Message.as_string() for non-ASCII message w…https://github.com/miss-islington/cpython/commit/3d4d72267fed3bda0e7cf48eb00933cdb75a8fb4
3d4d722https://github.com/miss-islington/cpython/commit/3d4d72267fed3bda0e7cf48eb00933cdb75a8fb4
pythonGH-116125https://github.com/python/cpython/pull/116125
f97f25ehttps://github.com/miss-islington/cpython/commit/f97f25ef5dfcdfec0d9a359fd970abd139cf3428
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 5, 2024https://github.com/python/cpython/pull/116125#issuecomment-1979081193
GH-116365https://github.com/python/cpython/pull/116365
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/116125
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Mar 5, 2024https://github.com/python/cpython/pull/116125#event-12016051424
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 5, 2024 https://github.com/python/cpython/pull/116125#ref-commit-85c32ad
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.12]https://github.com/python/cpython/commit/85c32ad9fd3780d8cc68a692c396cc840c093d69
gh-76511https://github.com/python/cpython/issues/76511
: Fix email.Message.as_string() for non-ASCII message …https://github.com/python/cpython/commit/85c32ad9fd3780d8cc68a692c396cc840c093d69
85c32adhttps://github.com/python/cpython/commit/85c32ad9fd3780d8cc68a692c396cc840c093d69
GH-116125https://github.com/python/cpython/pull/116125
GH-116364https://github.com/python/cpython/pull/116364
f97f25ehttps://github.com/python/cpython/commit/f97f25ef5dfcdfec0d9a359fd970abd139cf3428
serhiy-storchakahttps://github.com/serhiy-storchaka
Mar 5, 2024 https://github.com/python/cpython/pull/116125#ref-commit-c75df4b
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.11]https://github.com/python/cpython/commit/c75df4b13a1ec6317699142b29380bc500f52dcf
gh-76511https://github.com/python/cpython/issues/76511
: Fix email.Message.as_string() for non-ASCII message …https://github.com/python/cpython/commit/c75df4b13a1ec6317699142b29380bc500f52dcf
c75df4bhttps://github.com/python/cpython/commit/c75df4b13a1ec6317699142b29380bc500f52dcf
GH-116125https://github.com/python/cpython/pull/116125
GH-116365https://github.com/python/cpython/pull/116365
f97f25ehttps://github.com/python/cpython/commit/f97f25ef5dfcdfec0d9a359fd970abd139cf3428
adorilsonhttps://github.com/adorilson
Mar 25, 2024 https://github.com/python/cpython/pull/116125#ref-commit-a0704b2
https://github.com/serhiy-storchaka
https://github.com/adorilson
pythongh-76511https://github.com/python/cpython/issues/76511
: Fix email.Message.as_string() for non-ASCII message w…https://github.com/adorilson/cpython/commit/a0704b272eec2e3b2ca6196b1cb433b5b2023d7d
a0704b2https://github.com/adorilson/cpython/commit/a0704b272eec2e3b2ca6196b1cb433b5b2023d7d
pythonGH-116125https://github.com/python/cpython/pull/116125
diegorussohttps://github.com/diegorusso
Apr 17, 2024 https://github.com/python/cpython/pull/116125#ref-commit-a037ff7
https://github.com/serhiy-storchaka
https://github.com/diegorusso
pythongh-76511https://github.com/python/cpython/issues/76511
: Fix email.Message.as_string() for non-ASCII message w…https://github.com/diegorusso/cpython/commit/a037ff79d9bd5a73955f11e20bc5bc697d642662
a037ff7https://github.com/diegorusso/cpython/commit/a037ff79d9bd5a73955f11e20bc5bc697d642662
pythonGH-116125https://github.com/python/cpython/pull/116125
https://github.com/asottile-sentry
asottile-sentryhttps://github.com/asottile-sentry
Apr 24, 2024https://github.com/python/cpython/pull/116125#issuecomment-2075571757
django/django#17979https://github.com/django/django/pull/17979
Please reload this pagehttps://github.com/python/cpython/pull/116125
medmundshttps://github.com/medmunds
May 16, 2024 https://github.com/python/cpython/pull/116125#ref-commit-4c62f7b
https://github.com/medmunds
Tests: fix broken inbound testhttps://github.com/anymail/django-anymail/commit/4c62f7bee03b29751fbaabc33ed4d00ef6340ff5
4c62f7bhttps://github.com/anymail/django-anymail/commit/4c62f7bee03b29751fbaabc33ed4d00ef6340ff5
python/cpython#116125https://github.com/python/cpython/pull/116125
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%2F116125
https://github.com/bitdancer
bitdancer https://github.com/bitdancer
https://github.com/python/cpython/pull/116125/files/523f8ca935d5d255a3efb5c1b257ce38b0939942
Please reload this pagehttps://github.com/python/cpython/pull/116125
https://github.com/serhiy-storchaka
https://github.com/asottile-sentry
https://github.com/bitdancer
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.