| Skip to content | https://github.com/python/cpython/pull/152710/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F152710%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F152710%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 |
| Reload | https://github.com/python/cpython/pull/152710/files |
| Reload | https://github.com/python/cpython/pull/152710/files |
| Reload | https://github.com/python/cpython/pull/152710/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| bitdancer | https://github.com/bitdancer |
| python:main | https://github.com/python/cpython/tree/main |
| bitdancer:hvp_refactor | https://github.com/bitdancer/cpython/tree/hvp_refactor |
|
Conversation
2
| https://github.com/python/cpython/pull/152710 |
|
Commits
152
| https://github.com/python/cpython/pull/152710/commits |
|
Checks
47
| https://github.com/python/cpython/pull/152710/checks |
|
Files changed
| https://github.com/python/cpython/pull/152710/files |
| Please reload this page | https://github.com/python/cpython/pull/152710/files |
|
gh-136063: WIP: Refactor email _header_value_parser and eliminate non-linear complexity
| https://github.com/python/cpython/pull/152710/files#top |
|
Show all changes
152 commits
| https://github.com/python/cpython/pull/152710/files |
|
700e78f
Better parameterized test support.
bitdancer May 31, 2026
| https://github.com/python/cpython/pull/152710/commits/700e78ff9e9a8bc3525eccbb6600c23c46bbbbfb |
|
d1f58b8
Make params the default for email test cases.
bitdancer May 31, 2026
| https://github.com/python/cpython/pull/152710/commits/d1f58b8f462ef034c4ed19fdd20cead21c28993a |
|
ff717b3
DROPME: temporary unittest usability hack.
bitdancer Feb 28, 2026
| https://github.com/python/cpython/pull/152710/commits/ff717b37851320c822063d907fde3644d252dd23 |
|
bfb8be7
Enhance defects assertion.
bitdancer Dec 26, 2025
| https://github.com/python/cpython/pull/152710/commits/bfb8be777785f6f522afdc044b061b70c8507240 |
|
40fbf96
Add defect expectation constants and functions.
bitdancer May 19, 2026
| https://github.com/python/cpython/pull/152710/commits/40fbf96be7eb7bad88942fff692f85aecd373ea5 |
|
8158e1c
Fix defect copying when extending a token list.
bitdancer Jan 21, 2026
| https://github.com/python/cpython/pull/152710/commits/8158e1c62266926dbc13d92d5d8910cd92fc8a6e |
|
4e3dc45
Add for_each_character params filter.
bitdancer Mar 14, 2026
| https://github.com/python/cpython/pull/152710/commits/4e3dc45233cafb7fa0bd57c5bb8bc6d5d97e64c4 |
|
24d78c2
Begin converting _wsp_splitter tests to new framework.
bitdancer Jan 8, 2026
| https://github.com/python/cpython/pull/152710/commits/24d78c2bb68f47051f437c58be924ff8764cc659 |
|
3e7357b
Do _wsp_splitter test conversion.
bitdancer Dec 28, 2025
| https://github.com/python/cpython/pull/152710/commits/3e7357bf6f5de00c898988e9edf845cb4575b5c5 |
|
0bab82a
Update _wsp_splitter test names.
bitdancer Dec 28, 2025
| https://github.com/python/cpython/pull/152710/commits/0bab82a3444637f0ec463cdbf6cee1a8824d4f9b |
|
5df8183
Add tests for _validate_xtext.
bitdancer Mar 14, 2026
| https://github.com/python/cpython/pull/152710/commits/5df81830593c4ad541c4b5dd8c8c3c1bdf227512 |
|
127b6af
Add more testing infrastructure.
bitdancer Dec 26, 2025
| https://github.com/python/cpython/pull/152710/commits/127b6aff6819927b523bcbf4a26f9b5758eb2a05 |
|
dc93b3a
Add tests for _get_ptext_to_endchars.
bitdancer Dec 26, 2025
| https://github.com/python/cpython/pull/152710/commits/dc93b3aac8c593883999044213c41a401421b763 |
|
3a13cae
Begin refactoring of get_fws tests.
bitdancer Jan 17, 2026
| https://github.com/python/cpython/pull/152710/commits/3a13caeb68e7a59eb1b0e63d2837c1ef2b1e5d27 |
|
bf2746d
Rough conversion of existing get_fws tests.
bitdancer Jan 8, 2026
| https://github.com/python/cpython/pull/152710/commits/bf2746d487b9984edd3bc1c6f80e6efe7ac60eac |
|
102da9e
Fix whitespace and test names in get_fws tests.
bitdancer Dec 26, 2025
| https://github.com/python/cpython/pull/152710/commits/102da9e5a3d165e660c25ca8d7169eb1de1d0081 |
|
aafe940
Convert get_fws tests to keyword form.
bitdancer Jan 8, 2026
| https://github.com/python/cpython/pull/152710/commits/aafe9407553faebe0647d7b0fe22a8aa6c8b2511 |
|
e2a28e0
Improve the get_fws test names.
bitdancer Feb 20, 2026
| https://github.com/python/cpython/pull/152710/commits/e2a28e0890ebc472c04cc5c314ee5c551c2ed988 |
|
d5afdf7
Improve get_fws tests.
bitdancer Dec 26, 2025
| https://github.com/python/cpython/pull/152710/commits/d5afdf7e11c72656e219526fe806db1d8cd2d74b |
|
1d422b8
Begin _encoded_words test refactor.
bitdancer Jan 2, 2026
| https://github.com/python/cpython/pull/152710/commits/1d422b8ef5084dca084957f0162fd4be573549ea |
|
110e8c7
Rough conversion of _encoded_word tests.
bitdancer Jan 2, 2026
| https://github.com/python/cpython/pull/152710/commits/110e8c76e881f4ddf44a852ddfdf38b1ce5aadb1 |
|
0f7b17f
Fix whitespace and test names in _encoded_words tests.
bitdancer Jan 2, 2026
| https://github.com/python/cpython/pull/152710/commits/0f7b17fb283fd3ebb379b9e25abd2fbb3b853131 |
|
3c6bfe3
Tidy up to finish _encoded_words test conversion.
bitdancer Jan 2, 2026
| https://github.com/python/cpython/pull/152710/commits/3c6bfe31cfad8fa1ec692f90ffa1a5120f8a05a9 |
|
d71112d
Begin get_encoded_word test refactor.
bitdancer Jan 3, 2026
| https://github.com/python/cpython/pull/152710/commits/d71112dad8593eecda9dc7529f989f0713607d28 |
|
7420116
Rough conversion of get_encoded_word tests.
bitdancer Dec 27, 2025
| https://github.com/python/cpython/pull/152710/commits/74201160917f17e1376a3a1d0c5d4646a39d73ea |
|
82b6156
Fix test names and whitespace in get_encoded_word tests.
bitdancer Jan 3, 2026
| https://github.com/python/cpython/pull/152710/commits/82b6156b591b6ef1ec5430aebf9094ef5e678238 |
|
f942791
Convert get_encoded_word tests to keyword form.
bitdancer Dec 27, 2025
| https://github.com/python/cpython/pull/152710/commits/f942791a244fca3a987d56f93ebcd3695290120f |
|
45ff404
Begin simplifying get_encoded_word 'raise' tests.
bitdancer May 20, 2026
| https://github.com/python/cpython/pull/152710/commits/45ff404697062cc69c34818ae445f036b6befc29 |
|
c2debf7
Simplify get_encoded_word raise tests further.
bitdancer May 7, 2026
| https://github.com/python/cpython/pull/152710/commits/c2debf7c0c54203a16b02da3aac65c1fe7796a5c |
|
65a808d
Update get_encoded_word raise tests before adding more.
bitdancer Jan 29, 2026
| https://github.com/python/cpython/pull/152710/commits/65a808d6772f7d22e4c14619c4807c61e50b729e |
|
fbeae7d
Update fix for bpo-27397/gh-71584.
bitdancer May 14, 2026
| https://github.com/python/cpython/pull/152710/commits/fbeae7da079b3fa479b432d1fcca153d588b0ece |
|
8754d9e
Add more get_encoded_word tests.
bitdancer Jun 13, 2026
| https://github.com/python/cpython/pull/152710/commits/8754d9e7c8948348717fd01d8bae69fb81fac1e9 |
|
de6487e
Begin refactoring get_unstructured tests.
bitdancer Jun 13, 2026
| https://github.com/python/cpython/pull/152710/commits/de6487e562fd4667ad3cb6daf4f4258f1c28020f |
|
527e9ac
Rough conversion of get_unstructured tests.
bitdancer Jan 5, 2026
| https://github.com/python/cpython/pull/152710/commits/527e9ac703f2816c5629cf499f6687ca89d0d19b |
|
89570a8
Fix whitespace/test names in get_unstructured tests.
bitdancer Jan 5, 2026
| https://github.com/python/cpython/pull/152710/commits/89570a8e3debb34c18b2d0abe5bb850594620893 |
|
0102035
Convert get_unstructured tests to keyword form.
bitdancer Jan 5, 2026
| https://github.com/python/cpython/pull/152710/commits/01020353dd5f5bacceb0f218d3c2161c7394857b |
|
50f90d6
Remove now redundant get_unstructured tests.
bitdancer May 17, 2026
| https://github.com/python/cpython/pull/152710/commits/50f90d6aea7d48316bceb1d6d929550466e46438 |
|
ca58e38
Add more get_unstructured tests, specific defects.
bitdancer Jan 5, 2026
| https://github.com/python/cpython/pull/152710/commits/ca58e3875a076b5b0ee23254b722be30226b27ae |
|
5948d0b
Begin conversion of get_qp_ctext tests.
bitdancer Jan 7, 2026
| https://github.com/python/cpython/pull/152710/commits/5948d0b5c99d583f01cd8974d8aed0903b4f53d9 |
|
ca77c51
Convert get_qp_ctext tests.
bitdancer Jan 7, 2026
| https://github.com/python/cpython/pull/152710/commits/ca77c516867f4e9c6fef24d685c4d908575dfa3d |
|
b68a369
Fix whitespace and test names in get_qp_ctext tests.
bitdancer Jan 7, 2026
| https://github.com/python/cpython/pull/152710/commits/b68a369b63b0b0e2fdc7a094f7a09bd73a893d51 |
|
8102870
Convert get_qp_ctext tests to keyword form.
bitdancer Jan 7, 2026
| https://github.com/python/cpython/pull/152710/commits/810287027ec241e3b7a185657500e2fa18a47f98 |
|
91e75e2
get_qp_ctext test improvements.
bitdancer Jan 7, 2026
| https://github.com/python/cpython/pull/152710/commits/91e75e28da14487ef4ece3077c5efb9899ec5184 |
|
e22c595
Begin converting get_qcontent tests to new framework.
bitdancer Jan 11, 2026
| https://github.com/python/cpython/pull/152710/commits/e22c59589dce2dc4fd3969fcefdf507c637f076b |
|
0a7bc1c
Rough conversion of get_qcontent tests.
bitdancer Jan 11, 2026
| https://github.com/python/cpython/pull/152710/commits/0a7bc1c9d09ab0139b833c0ffd2dc43f7c6acf3f |
|
98d66aa
Fix whitespace and test names in get_qcontent tests.
bitdancer Jan 11, 2026
| https://github.com/python/cpython/pull/152710/commits/98d66aa401b20570369c429f206beb4a00338193 |
|
8960b84
Put get_qcontent tests in keyword form.
bitdancer Jan 11, 2026
| https://github.com/python/cpython/pull/152710/commits/8960b840a1f42aa18d14784175a1ef988e43ea00 |
|
b882330
Improve get_qcontent tests.
bitdancer Jan 11, 2026
| https://github.com/python/cpython/pull/152710/commits/b882330983e181fc690b714aee0a9d6a9bca3eec |
|
0679063
Start conversion of get_atext tests.
bitdancer Jan 13, 2026
| https://github.com/python/cpython/pull/152710/commits/06790635f4cd641391ec00a9df36bf0f2d4b30bc |
|
d2a32af
Rough conversion of get_atext tests.
bitdancer Jan 13, 2026
| https://github.com/python/cpython/pull/152710/commits/d2a32af6f631098e9f784da51d977056cc749cf2 |
|
a083cd2
Fix whitespace and test names in get_atext tests.
bitdancer Jan 13, 2026
| https://github.com/python/cpython/pull/152710/commits/a083cd233afcc60cf2f382e9cb876c6a7ab981a2 |
|
64299cf
Convert get_atext tests to keyeword form.
bitdancer Jan 13, 2026
| https://github.com/python/cpython/pull/152710/commits/64299cf6b36035d6cd02ea562ec4d1db5e42f3ff |
|
644e855
Improve the get_atext tests.
bitdancer Jan 13, 2026
| https://github.com/python/cpython/pull/152710/commits/644e8552320cb9f719d77e57475ccdce6dfdac9f |
|
220e675
Begin refactor of get_bare_quoted_string tests.
bitdancer Jan 14, 2026
| https://github.com/python/cpython/pull/152710/commits/220e6754b85696d082cf50065af0e6eb3e2fb10f |
|
30a796e
Rough refactoring of bare_quoted_string tests.
bitdancer Jan 14, 2026
| https://github.com/python/cpython/pull/152710/commits/30a796e2fb87b77dc26114a18cf1470f880144d8 |
|
f4216ee
Fix whitespace and test names in bare_quoted_string tests.
bitdancer Jan 14, 2026
| https://github.com/python/cpython/pull/152710/commits/f4216ee83de80cd6705f9ad722f083d8281430c0 |
|
faa905f
Convert bare_quoted_string tests to keyword form.
bitdancer Jan 14, 2026
| https://github.com/python/cpython/pull/152710/commits/faa905f8bd068ddbb6a722631d1e3f846dddca08 |
|
71d5488
Clarify test names, remove redundant test.
bitdancer Jan 15, 2026
| https://github.com/python/cpython/pull/152710/commits/71d548839f6d5b219e2fbfefacca954eb6103b2c |
|
b7bc1ce
Improve bare_quoted_string tests.
bitdancer Jan 15, 2026
| https://github.com/python/cpython/pull/152710/commits/b7bc1ceda8e58903918f33ce2d2078cf8622108a |
|
4d20bcc
Begin refactoring get_comment tests.
bitdancer Jan 16, 2026
| https://github.com/python/cpython/pull/152710/commits/4d20bcc00e10695e647dd7e75852870c4971f552 |
|
9d371de
Rough conversion of get_comment tests.
bitdancer Jan 17, 2026
| https://github.com/python/cpython/pull/152710/commits/9d371de5b9163a577679a5d26d17315f12b720bd |
|
effd1d6
Fix whitespace and test names in get_comment tests.
bitdancer Jan 18, 2026
| https://github.com/python/cpython/pull/152710/commits/effd1d6215b1ee415a6f84eb960abd7dee6ffbc4 |
|
6b38169
Convert get_comment tests to keyword form.
bitdancer Jan 18, 2026
| https://github.com/python/cpython/pull/152710/commits/6b38169331fffebafbb24a5611d5cc6abf6c7780 |
|
bf27f70
Improve get_comment test names.
bitdancer Feb 28, 2026
| https://github.com/python/cpython/pull/152710/commits/bf27f70af5678ae4ac24d1d677b492d57b927941 |
|
5fe5f58
Improve the get_comment tests.
bitdancer Jan 19, 2026
| https://github.com/python/cpython/pull/152710/commits/5fe5f58a0871bd3a4a7a069e484b7bd2478c355a |
|
1079602
Begin conversion of get_cfws tests.
bitdancer Jan 23, 2026
| https://github.com/python/cpython/pull/152710/commits/1079602713b75fc7176831ead078dfaa85da9a35 |
|
2fa6a8e
Remove now-redundant tests.
bitdancer Feb 28, 2026
| https://github.com/python/cpython/pull/152710/commits/2fa6a8e503bdcdb303d53ce0513a152b53f61438 |
|
407e6c2
Rough conversion of get_cwfs tests.
bitdancer Jan 23, 2026
| https://github.com/python/cpython/pull/152710/commits/407e6c22a244a66117fabcf5da90d05d0e53d6cf |
|
62951e5
Fix whitespace in get_cfws tests.
bitdancer Jan 23, 2026
| https://github.com/python/cpython/pull/152710/commits/62951e5f0848c08d801e15c246d54246077c4759 |
|
e97f868
Shorten test names in get_cfws tests.
bitdancer Jan 23, 2026
| https://github.com/python/cpython/pull/152710/commits/e97f8683ab5610df75190ef3ae7f0f8c7f359cfa |
|
c4bf042
Convert get_cfws tests to keyword form.
bitdancer Jan 23, 2026
| https://github.com/python/cpython/pull/152710/commits/c4bf042e97214bbd0e952debbe2b07086db43924 |
|
251adca
Add commenttree checks to get_cfws tests.
bitdancer Jan 23, 2026
| https://github.com/python/cpython/pull/152710/commits/251adcaf012c4fc1f2459449ffb46c1efe142529 |
|
226a1b1
Improve get_cfws tests.
bitdancer Jan 23, 2026
| https://github.com/python/cpython/pull/152710/commits/226a1b14a6fa4d730435d75f2a1a76a73fc90de6 |
|
fe66529
Start conversion of get_quoted_string tests.
bitdancer Jan 23, 2026
| https://github.com/python/cpython/pull/152710/commits/fe6652945699b048e58c0acb3359fa0e2b2dd1af |
|
4b890eb
Remove now redundant get_quoted_string test.
bitdancer Mar 6, 2026
| https://github.com/python/cpython/pull/152710/commits/4b890eb0efd5f7dbb830015131a504bfa0f7ee9c |
|
a568523
Rough conversion of get_quoted_string tests.
bitdancer Jan 24, 2026
| https://github.com/python/cpython/pull/152710/commits/a568523da411cb7421d1c63ba487f22b9b31f17e |
|
0e84644
Fix whitespace and test names in get_quoted_string tests.
bitdancer Jan 24, 2026
| https://github.com/python/cpython/pull/152710/commits/0e84644cfb2cdad1aa38badf969ebcd51ba722ba |
|
8c70238
Convert get_quoted_string tests to keyword form.
bitdancer Jan 26, 2026
| https://github.com/python/cpython/pull/152710/commits/8c70238d05fc446c6c5c0424f3d4f5e3579ed129 |
|
8cac1d1
Improve get_quoted_string tests.
bitdancer Jan 26, 2026
| https://github.com/python/cpython/pull/152710/commits/8cac1d142f50bf5edce6da519667cb5c736ec65a |
|
e67faaf
Add content checking to get_quoted_string tests.
bitdancer Apr 8, 2026
| https://github.com/python/cpython/pull/152710/commits/e67faafae5fc71800ec885c7a1d0aa2023133d2b |
|
420529d
Start refactoring get_atom tests.
bitdancer Jan 26, 2026
| https://github.com/python/cpython/pull/152710/commits/420529d2d2bc3e7d580662f7ab9087c713d9bff2 |
|
a168523
Rough conversion of get_atom tests.
bitdancer Jan 26, 2026
| https://github.com/python/cpython/pull/152710/commits/a1685237fe8cb9c8e0af8df05fdf2267a06d03b7 |
|
bf789fc
Fix whitespace and test names in get_atom tests.
bitdancer Jan 26, 2026
| https://github.com/python/cpython/pull/152710/commits/bf789fc19791dc82fff1d2fb9eca0d4ad79d0c51 |
|
06d6617
Convert get_atom tests to keyword form.
bitdancer Jan 26, 2026
| https://github.com/python/cpython/pull/152710/commits/06d6617bb0865981d522b376eb973409333d46ab |
|
1aa811c
Improve the get_atom tests.
bitdancer Jan 26, 2026
| https://github.com/python/cpython/pull/152710/commits/1aa811cc202231c3efb33bb7102ea97871a441fd |
|
d3e1d96
Start refactoring get_dot_atom_text tests.
bitdancer Feb 1, 2026
| https://github.com/python/cpython/pull/152710/commits/d3e1d96199ae9f26c1d68db0d43c688230c5ad2e |
|
1f36294
Delete now redundant get_dot_atom_text test.
bitdancer Mar 9, 2026
| https://github.com/python/cpython/pull/152710/commits/1f36294bfe22f08b54797b37a87491254e61ea47 |
|
8e2776a
Rough conversion of get_dot_atom_text tests.
bitdancer Feb 2, 2026
| https://github.com/python/cpython/pull/152710/commits/8e2776a8a680d3e656270eab32ab342ecb629bed |
|
8c60d90
Fix whitespace and test names in get_dot_atom_text tests.
bitdancer Feb 2, 2026
| https://github.com/python/cpython/pull/152710/commits/8c60d90aa4a644671b9dd38bf0d767dcb8d53dda |
|
51772f7
Convert get_dot_atom_text tests to keyword form.
bitdancer Feb 5, 2026
| https://github.com/python/cpython/pull/152710/commits/51772f75ff3262ab15e5359a5e11e1417bf84d6d |
|
38db54e
Improve the get_dot_atom_text tests, step 1.
bitdancer Feb 5, 2026
| https://github.com/python/cpython/pull/152710/commits/38db54ec0c4e2b9130c334115d561f20a7140df5 |
|
b91ba59
Improve the get_dot_atom_text tests step 2.
bitdancer Mar 9, 2026
| https://github.com/python/cpython/pull/152710/commits/b91ba59d1d7c73497975b651cc39077e64b6725f |
|
2b8c183
Improve get_dot_atom_text tests step 3: more tests.
bitdancer Mar 9, 2026
| https://github.com/python/cpython/pull/152710/commits/2b8c1832e119d292a505a18efcfc7920a5777d40 |
|
7d91c74
Begin refactoring get_dot_atom tests.
bitdancer Feb 8, 2026
| https://github.com/python/cpython/pull/152710/commits/7d91c74da4fbfaa0cdbf6671f5374dd572a7e4cb |
|
0cc7e12
Rough conversion of get_dot_atom tests.
bitdancer Feb 8, 2026
| https://github.com/python/cpython/pull/152710/commits/0cc7e127e4001c425f8fb537042881641bbce6f4 |
|
3c3fdb1
Fix whitespace and test names in get_dot_atom tests.
bitdancer Feb 8, 2026
| https://github.com/python/cpython/pull/152710/commits/3c3fdb1502c4972997f619aa65a30755a786a144 |
|
364df1e
Convert get_dot_atom tests to keyword form.
bitdancer Feb 8, 2026
| https://github.com/python/cpython/pull/152710/commits/364df1ed695221755eb44a39b02e9eb9e4e9fe5d |
|
e7b9020
Improve the get_dot_atom tests.
bitdancer Feb 8, 2026
| https://github.com/python/cpython/pull/152710/commits/e7b9020930260ee4a4f49fed0d4fb53171cbe1d8 |
|
38b613b
Refactor get_word tests.
bitdancer Feb 13, 2026
| https://github.com/python/cpython/pull/152710/commits/38b613baa00743e04b356489d3032f538aeea5ad |
|
4f59e8f
Begin refactoring get_phrase tests.
bitdancer Feb 20, 2026
| https://github.com/python/cpython/pull/152710/commits/4f59e8f6ee841c443c376c35c0dc092dec753eeb |
|
ffe9351
Rough conversion of get_phrase tests.
bitdancer Mar 11, 2026
| https://github.com/python/cpython/pull/152710/commits/ffe9351620f6883700a947b621d9f887148e4575 |
|
ad2618f
Fix whitespace and test names in get_phrase tests.
bitdancer Mar 11, 2026
| https://github.com/python/cpython/pull/152710/commits/ad2618f4ae70eb510bf9354f06ff950b6b5912e8 |
|
b467e07
Convert get_phrase tests to keyword form.
bitdancer Mar 11, 2026
| https://github.com/python/cpython/pull/152710/commits/b467e071a5cf4b86d797ba98e2236417e94d73c0 |
|
4f4d5e1
Add equivalent of get_phrase test length check.
bitdancer Mar 11, 2026
| https://github.com/python/cpython/pull/152710/commits/4f4d5e1f0592334b6a7812f60ea36d7ad4d0c514 |
|
ebdce1f
Improve the get_phrase test defect checking.
bitdancer Mar 11, 2026
| https://github.com/python/cpython/pull/152710/commits/ebdce1f3fd301b5614b855771cb61c6a8d6e5fba |
|
d6fad60
Improve the get_phrase test names.
bitdancer Mar 11, 2026
| https://github.com/python/cpython/pull/152710/commits/d6fad60c33eb6f0f312b5e565cff73f7d0656b87 |
|
bf3a9ac
Additional tests for get_phrase.
bitdancer Mar 11, 2026
| https://github.com/python/cpython/pull/152710/commits/bf3a9ac0a6b23a70d6f234eb90951b01317ba7e5 |
|
50a8bc7
Begin conversion of get_local_part tests.
bitdancer Mar 28, 2026
| https://github.com/python/cpython/pull/152710/commits/50a8bc717ff207d1ea3b4f106596a81433b86b3b |
|
676b998
Rough refactoring of get_local_part tests.
bitdancer Mar 30, 2026
| https://github.com/python/cpython/pull/152710/commits/676b998731609d47a4a212976f7177a42f345b17 |
|
95c4f0e
Fix whitespace and test names in get_local_part tests.
bitdancer Mar 30, 2026
| https://github.com/python/cpython/pull/152710/commits/95c4f0e8d9596dcd1dc8934047761d354165eb80 |
|
1f1ed35
Convert get_local_part tests to keyword form.
bitdancer Mar 30, 2026
| https://github.com/python/cpython/pull/152710/commits/1f1ed35d798bca9ebcd1c91b15712d0abdb8a145 |
|
4093b8a
Add defect message checks to get_local_part tests.
bitdancer Mar 31, 2026
| https://github.com/python/cpython/pull/152710/commits/4093b8a25073ab8f08ba33b84135e4848d8546a1 |
|
291568d
Move obs tests to new get_obs_local_part tests section.
bitdancer Apr 3, 2026
| https://github.com/python/cpython/pull/152710/commits/291568d5ab69d1be88730742bce29e534c8d5da6 |
|
a3e93be
Move get_obs_local_part before get_local_part.
bitdancer Apr 3, 2026
| https://github.com/python/cpython/pull/152710/commits/a3e93beccc42ebde1b291a0c3673bbb5aee0a285 |
|
62d7e8a
Enhance the get_obs_local_part tests.
bitdancer Apr 3, 2026
| https://github.com/python/cpython/pull/152710/commits/62d7e8a59466b55c76cc098ff4c5c3e232e723c2 |
|
f8fffad
New get_obs_local_part ew test, fix bug.
bitdancer Apr 3, 2026
| https://github.com/python/cpython/pull/152710/commits/f8fffad5db222792aa11c3fda17c0c0e3debfff0 |
|
16a239d
More get_obs_local_part ew tests.
bitdancer Apr 4, 2026
| https://github.com/python/cpython/pull/152710/commits/16a239d783dae63af6849e595a020132de9a2b3e |
|
a6fc56f
Add unicode and ew get_local_part tests.
bitdancer Apr 7, 2026
| https://github.com/python/cpython/pull/152710/commits/a6fc56f6f506f587dadd88c98a0097e7c7fbc87c |
|
d82b5c9
Document new API pattern, add deprecation helpers.
bitdancer Dec 25, 2025
| https://github.com/python/cpython/pull/152710/commits/d82b5c9eab65b7e2abc26ca78504f3754e807a8e |
|
c86dabe
Deprecate NonASCIILocalPartDefect.
bitdancer May 2, 2026
| https://github.com/python/cpython/pull/152710/commits/c86dabeab308501de6463e7ff759c2f96e89b5f7 |
|
66fe08b
Refactor get_fws.
bitdancer Mar 20, 2026
| https://github.com/python/cpython/pull/152710/commits/66fe08beb8f6be97e8e14113225a6349ceb6bfb3 |
|
f0a0cc3
Add _make_xtext.
bitdancer May 10, 2026
| https://github.com/python/cpython/pull/152710/commits/f0a0cc3f27058027ad0a2dcc45e1a487dc4218e6 |
|
58f523c
Preliminary deprecation of _validate_xtext.
bitdancer May 10, 2026
| https://github.com/python/cpython/pull/152710/commits/58f523c9258374cd2b6fd87f55de1246cef28fd6 |
|
bdaa0f7
Add _get_xtext function.
bitdancer Jan 13, 2026
| https://github.com/python/cpython/pull/152710/commits/bdaa0f7efe0b57c53cfc8446b4593696b529ce66 |
|
9b8e480
Factor a _decode out of decode in _encoded_words.
bitdancer Jan 2, 2026
| https://github.com/python/cpython/pull/152710/commits/9b8e480a13925720a0e7d7af66c8324bd1b830ab |
|
19cc42a
Refactor get_encoded_word.
bitdancer Dec 30, 2025
| https://github.com/python/cpython/pull/152710/commits/19cc42afdead39578843e681b4c37f7397790c6d |
|
f1014b6
Refactor get_unstructured into parse_unstructured.
bitdancer Jan 5, 2026
| https://github.com/python/cpython/pull/152710/commits/f1014b62f788d9c045b1fc580e0ae8b83dbf5f62 |
|
801c4ab
Deprecate _wsp_splitter.
bitdancer Jan 31, 2026
| https://github.com/python/cpython/pull/152710/commits/801c4ab21bdc403f9a10dd28d58e0c54ac9fcdcd |
|
87dcb41
Start adding a content_getter helper.
bitdancer Jan 7, 2026
| https://github.com/python/cpython/pull/152710/commits/87dcb41fd27511b9296235243b3852fc418dd355 |
|
d598267
Implement content_getter.
bitdancer May 8, 2026
| https://github.com/python/cpython/pull/152710/commits/d598267d3ee715f0e13719cd3561b997191b3169 |
|
d2714a9
Deprecate _get_ptext_to_endchars.
bitdancer Mar 19, 2026
| https://github.com/python/cpython/pull/152710/commits/d2714a979e95cce1a005a042c75641c1706d1460 |
|
f87d59a
Refactor parse_unstructured to use content_getter.
bitdancer May 8, 2026
| https://github.com/python/cpython/pull/152710/commits/f87d59a059bc54666d38f65527cd8288fec150cd |
|
c6ec083
Add get_ccontent_sequence.
bitdancer Jun 6, 2026
| https://github.com/python/cpython/pull/152710/commits/c6ec08303e45cd5c97877c46203bf6b67d9ae533 |
|
672f357
Have get_comment reuse the get_ccontent_sequence tests.
bitdancer Jun 6, 2026
| https://github.com/python/cpython/pull/152710/commits/672f3574a0ca768347b3d6b438cbd37962bc5998 |
|
d0f031e
Preliminary deprecation of get_qp_ctext.
bitdancer May 9, 2026
| https://github.com/python/cpython/pull/152710/commits/d0f031ee2fd13e955e1e4b773bf20cf39c90e464 |
|
59e58a6
Set up easy POSTDEP removal for get_qp_ctext.
bitdancer May 9, 2026
| https://github.com/python/cpython/pull/152710/commits/59e58a6409b0fb15c16b0c2c570e4ccba57cffc8 |
|
230f00c
Refactor get_bare_quoted_string.
bitdancer Jan 15, 2026
| https://github.com/python/cpython/pull/152710/commits/230f00c1dadddb4d7dc293c88ba880878238890e |
|
399cf70
Preliminary deprecation of get_qcontent.
bitdancer Mar 20, 2026
| https://github.com/python/cpython/pull/152710/commits/399cf7036770a24faeb761165693bed1ccd9be7b |
|
705f301
Add get_atext_sequence.
bitdancer Mar 20, 2026
| https://github.com/python/cpython/pull/152710/commits/705f30132599fe651f58784afb740aa81e4c11ba |
|
45591fa
Preliminary deprecation of get_atext.
bitdancer Mar 20, 2026
| https://github.com/python/cpython/pull/152710/commits/45591fa65de862dc293719cb6d68ee3e058a561f |
|
0521972
Refactor get_comment.
bitdancer May 8, 2026
| https://github.com/python/cpython/pull/152710/commits/05219726d2befd38519d5d565429ca63a6b028f4 |
|
bfa84af
Finalize deprecation of get_qp_ctext.
bitdancer Jan 21, 2026
| https://github.com/python/cpython/pull/152710/commits/bfa84af923db9ed0655058d53ca654d8e059bcaf |
|
2435928
Refactor get_cfws.
bitdancer Jan 23, 2026
| https://github.com/python/cpython/pull/152710/commits/2435928a34e5b9068267eafec5ee15302c84d90f |
|
6ba71e7
Refactor get_quoted_string.
bitdancer Jan 26, 2026
| https://github.com/python/cpython/pull/152710/commits/6ba71e7fb9155f734bac297a6a6fee8fae51441b |
|
464d403
Refactor get_atom.
bitdancer Jan 27, 2026
| https://github.com/python/cpython/pull/152710/commits/464d40314b47d42e8be9ba08c1ce0b4e909d320d |
|
34eb525
Refactor get_dot_atom_text.
bitdancer Feb 5, 2026
| https://github.com/python/cpython/pull/152710/commits/34eb5250f435dca79808ea7af8ec61ee442131ca |
|
1339032
Finalize deprecation of get_atext.
bitdancer May 3, 2026
| https://github.com/python/cpython/pull/152710/commits/1339032283a09760e4711eb522bfcf0e1224931e |
|
2c63beb
Refactor get_dot_atom.
bitdancer Feb 8, 2026
| https://github.com/python/cpython/pull/152710/commits/2c63bebef5f43497263c8aacc9a3424ef107de29 |
|
e1b1fa4
Refactor get_word.
bitdancer Feb 16, 2026
| https://github.com/python/cpython/pull/152710/commits/e1b1fa40b8f74572b6ac016f797d80b014029b45 |
|
3df6a62
Refactor get_phrase.
bitdancer Mar 14, 2026
| https://github.com/python/cpython/pull/152710/commits/3df6a62b76c010bb7138ee577055acb9e8ee1125 |
|
e8fc51b
Refactor get_obs_local_part.
bitdancer May 2, 2026
| https://github.com/python/cpython/pull/152710/commits/e8fc51b96648e50ba11a678b9438e163f6a2494e |
|
9ed0e66
Refactor get_local_part.
bitdancer Jun 5, 2026
| https://github.com/python/cpython/pull/152710/commits/9ed0e66490706e64ecba6a63cc2d6d195b172faf |
|
Clear filters
| https://github.com/python/cpython/pull/152710/files |
| Please reload this page | https://github.com/python/cpython/pull/152710/files |
| Please reload this page | https://github.com/python/cpython/pull/152710/files |
|
_encoded_words.py
| https://github.com/python/cpython/pull/152710/files#diff-f0930372a444c221640c08c6cd23a91aaf85956f95a6cf83b482a19b710ac802 |
|
_header_value_parser.py
| https://github.com/python/cpython/pull/152710/files#diff-4f8d778d571b7faffb42100d1f6d0374134750c72f94c0840e9368c351b41845 |
|
errors.py
| https://github.com/python/cpython/pull/152710/files#diff-6b53981eabbf3b2dac54ddb7efc6c1097124bd8148e2264cc1ac30851b45518e |
|
temp
| https://github.com/python/cpython/pull/152710/files#diff-c270f36f76507572cbf6b34e48cfaa5f3e7a83a38b9a8e8b491bc72887755612 |
|
__init__.py
| https://github.com/python/cpython/pull/152710/files#diff-c8a5f7a2e41513ae01a949eff048b63aa587bb6eb4a7117f2e73e6c873c9242d |
|
params.py
| https://github.com/python/cpython/pull/152710/files#diff-85b1fd30f6a0e73d53fc73167318fa806eae78fe8f3ceafc0edf226911b366cb |
|
test__encoded_words.py
| https://github.com/python/cpython/pull/152710/files#diff-1d7bc41dda41d4c1f15ca71a4aa670385badb364ef28f64a6ec0d5080841d6ef |
|
test__header_value_parser.py
| https://github.com/python/cpython/pull/152710/files#diff-903868bb695b972a6c6c6fec7fdf1aedd13ef65e7e076aef8b0964a9ff004839 |
|
test_defect_handling.py
| https://github.com/python/cpython/pull/152710/files#diff-cfbd1a2f595209004cf23815b0ad3ad18105ddc046fd920740109e670c6d939e |
|
test_headerregistry.py
| https://github.com/python/cpython/pull/152710/files#diff-dc8bbb38fe110368deddc8c037f2898646059fe5b3299da68159ba5ef4721c2b |
|
test_params.py
| https://github.com/python/cpython/pull/152710/files#diff-f49b7a4362c2c0aa20287fdcf644cd97787b0c716a6639f55a3022195cbef348 |
|
test_testing_infrastructure.py
| https://github.com/python/cpython/pull/152710/files#diff-7d4147a0d8fda3ef410db73545ce3c9d552c52ad1fd24d7be486ee0770f14663 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L448 |
| Lib/email/_encoded_words.py | https://github.com/python/cpython/pull/152710/files#diff-f0930372a444c221640c08c6cd23a91aaf85956f95a6cf83b482a19b710ac802 |
|
View file
| https://github.com/python/cpython/blob/9ed0e66490706e64ecba6a63cc2d6d195b172faf/Lib/email/_encoded_words.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/152710/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/152710/files#diff-f0930372a444c221640c08c6cd23a91aaf85956f95a6cf83b482a19b710ac802 |
|
| https://github.com/python/cpython/pull/152710/files#diff-f0930372a444c221640c08c6cd23a91aaf85956f95a6cf83b482a19b710ac802 |
|
| https://github.com/python/cpython/pull/152710/files#diff-f0930372a444c221640c08c6cd23a91aaf85956f95a6cf83b482a19b710ac802 |
| Please reload this page | https://github.com/python/cpython/pull/152710/files |
| Please reload this page | https://github.com/python/cpython/pull/152710/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |