René's URL Explorer Experiment


Title: gh-161966: Fix UnboundLocalError in email._header_value_parser for a domain literal starting with whitespace by Broyojo · Pull Request #161967 · python/cpython · GitHub

Open Graph Title: gh-161966: Fix UnboundLocalError in email._header_value_parser for a domain literal starting with whitespace by Broyojo · Pull Request #161967 · python/cpython

X Title: gh-161966: Fix UnboundLocalError in email._header_value_parser for a domain literal starting with whitespace by Broyojo · Pull Request #161967 · python/cpython

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

Open Graph Description: _get_ptext_to_endchars read pos before assigning it when its input started with whitespace, because the first word from _wsp_splitter was then empty and the loop body never ran. This could happen w...

X Description: _get_ptext_to_endchars read pos before assigning it when its input started with whitespace, because the first word from _wsp_splitter was then empty and the loop body never ran. This could happen w...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:ebfa48d3-37de-5c80-bca8-5e123efea723
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id89E6:21BD98:3660403:44E6D0E:6B021C43
html-safe-nonced62f685d60a08db77edf516b3d3ad76e1ca9cfd9233007ab08a7be90faa9ac57
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUU2OjIxQkQ5ODozNjYwNDAzOjQ0RTZEMEU6NkIwMjFDNDMiLCJ2aXNpdG9yX2lkIjoiNTc2NDU4NTQ0MDEwNzY5OTI2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac36bdd44f19d2dd9d67eb3a5f2b28f5e3cd7a800948bd5e56677affc8b525686b
hovercard-subject-tagpull_request:5304992089
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/161967/checks
twitter:imagehttps://opengraph.githubassets.com/8d182aace9d72172be5c29f8b561579bf6eb83a1d2adf2cc42e3e0b3e8822a65/python/cpython/pull/161967
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d182aace9d72172be5c29f8b561579bf6eb83a1d2adf2cc42e3e0b3e8822a65/python/cpython/pull/161967
og:image:alt_get_ptext_to_endchars read pos before assigning it when its input started with whitespace, because the first word from _wsp_splitter was then empty and the loop body never ran. This could happen w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBroyojo
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/161967/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F161967%2Fchecks
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%2F161967%2Fchecks
Sign uphttps://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%2Fchecks&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/161967/checks
Reloadhttps://github.com/python/cpython/pull/161967/checks
Reloadhttps://github.com/python/cpython/pull/161967/checks
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)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/insights
https://github.com/python/cpython
Broyojohttps://github.com/Broyojo
python:mainhttps://github.com/python/cpython/tree/main
Broyojo:gh-161966-email-msgid-whitespacehttps://github.com/Broyojo/cpython/tree/gh-161966-email-msgid-whitespace
Conversationhttps://github.com/python/cpython/pull/161967
Commits1 (1)https://github.com/python/cpython/pull/161967/commits
Checkshttps://github.com/python/cpython/pull/161967/checks
Files changedhttps://github.com/python/cpython/pull/161967/files
gh-161966: Fix UnboundLocalError in email._header_value_parser for a domain literal starting with whitespacehttps://github.com/python/cpython/pull/161967/checks#top
Broyojohttps://github.com/Broyojo
python:mainhttps://github.com/python/cpython/tree/main
Broyojo:gh-161966-email-msgid-whitespacehttps://github.com/Broyojo/cpython/tree/gh-161966-email-msgid-whitespace
Please reload this pagehttps://github.com/python/cpython/pull/161967/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F161967%2Fchecks
Check labels on: pull_request https://github.com/python/cpython/actions/runs/43533398369
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/43533398369/job/132256373473?pr=161967
Unresolved review https://github.com/python/cpython/actions/runs/43533398369/job/132256373854?pr=161967
Lint on: pull_request https://github.com/python/cpython/actions/runs/43533398483
lint https://github.com/python/cpython/actions/runs/43533398483/job/132256375053?pr=161967
lockfile https://github.com/python/cpython/actions/runs/43533398483/job/132256374582?pr=161967
Tests on: pull_request https://github.com/python/cpython/actions/runs/43533398751
Change detection / Create context from changed files https://github.com/python/cpython/actions/runs/43533398751/job/132256377375?pr=161967
Docs / Docs https://github.com/python/cpython/actions/runs/43533398751/job/132256468427?pr=161967
Docs / Doctest https://github.com/python/cpython/actions/runs/43533398751/job/132256468451?pr=161967
Docs / Check EPUB https://github.com/python/cpython/actions/runs/43533398751/job/132256468426?pr=161967
Docs / Check for removed HTML IDs / Check for removed HTML IDs https://github.com/python/cpython/actions/runs/43533398751/job/132257131667?pr=161967
Check if Autoconf files are up to date https://github.com/python/cpython/actions/runs/43533398751/job/132256466329?pr=161967
Check if generated files are up to date https://github.com/python/cpython/actions/runs/43533398751/job/132256465968?pr=161967
C API Docs / Check if all C APIs are documented https://github.com/python/cpython/actions/runs/43533398751/job/132256466299?pr=161967
Windows / Build and test (x64, switch-case) https://github.com/python/cpython/actions/runs/43533398751/job/132256468304?pr=161967
Windows (free-threading) / Build and test (x64, switch-case) https://github.com/python/cpython/actions/runs/43533398751/job/132256468490?pr=161967
Windows / Build and test (Win32, switch-case) https://github.com/python/cpython/actions/runs/43533398751/job/132256468369?pr=161967
Windows / Build and test (arm64, switch-case) https://github.com/python/cpython/actions/runs/43533398751/job/132256468263?pr=161967
Windows (free-threading) / Build and test (arm64, switch-case) https://github.com/python/cpython/actions/runs/43533398751/job/132256468270?pr=161967
Windows / Build and test (x64, tail-call) https://github.com/python/cpython/actions/runs/43533398751/job/132256468386?pr=161967
Windows (free-threading) / Build and test (x64, tail-call) https://github.com/python/cpython/actions/runs/43533398751/job/132256468298?pr=161967
macOS / build and test (macos-26) https://github.com/python/cpython/actions/runs/43533398751/job/132256467589?pr=161967
macOS (free-threading) / build and test (macos-26) https://github.com/python/cpython/actions/runs/43533398751/job/132256467975?pr=161967
macOS / build and test (macos-26-intel) https://github.com/python/cpython/actions/runs/43533398751/job/132256467682?pr=161967
Ubuntu / build and test (ubuntu-26.04) https://github.com/python/cpython/actions/runs/43533398751/job/132256467938?pr=161967
Ubuntu / build and test (ubuntu-26.04-arm) https://github.com/python/cpython/actions/runs/43533398751/job/132256467815?pr=161967
Ubuntu (free-threading) / build and test (ubuntu-26.04) https://github.com/python/cpython/actions/runs/43533398751/job/132256467801?pr=161967
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm) https://github.com/python/cpython/actions/runs/43533398751/job/132256467963?pr=161967
Ubuntu (bolt) / build and test (ubuntu-26.04) https://github.com/python/cpython/actions/runs/43533398751/job/132256468076?pr=161967
Ubuntu (installed) / build, install and test https://github.com/python/cpython/actions/runs/43533398751/job/132256466909?pr=161967
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w) https://github.com/python/cpython/actions/runs/43533398751/job/132256467219?pr=161967
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.8) https://github.com/python/cpython/actions/runs/43533398751/job/132256466795?pr=161967
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.9) https://github.com/python/cpython/actions/runs/43533398751/job/132256466757?pr=161967
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.5) https://github.com/python/cpython/actions/runs/43533398751/job/132256466545?pr=161967
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.3) https://github.com/python/cpython/actions/runs/43533398751/job/132256466568?pr=161967
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.10.0) https://github.com/python/cpython/actions/runs/43533398751/job/132256466732?pr=161967
Android (aarch64) https://github.com/python/cpython/actions/runs/43533398751/job/132256466582?pr=161967
Android (x86_64) https://github.com/python/cpython/actions/runs/43533398751/job/132256466469?pr=161967
iOS https://github.com/python/cpython/actions/runs/43533398751/job/132256466279?pr=161967
iOS (free-threading) https://github.com/python/cpython/actions/runs/43533398751/job/132256466327?pr=161967
Emscripten / build and test https://github.com/python/cpython/actions/runs/43533398751/job/132256467696?pr=161967
WASI / build and test https://github.com/python/cpython/actions/runs/43533398751/job/132256467573?pr=161967
Hypothesis tests on Ubuntu https://github.com/python/cpython/actions/runs/43533398751/job/132256466179?pr=161967
Lazy imports enabled / Run Tests with lazy_imports=all https://github.com/python/cpython/actions/runs/43533398751/job/132256467831?pr=161967
Sanitizers / TSan https://github.com/python/cpython/actions/runs/43533398751/job/132256468120?pr=161967
Sanitizers / TSan (free-threading) https://github.com/python/cpython/actions/runs/43533398751/job/132256468207?pr=161967
Sanitizers / ASan https://github.com/python/cpython/actions/runs/43533398751/job/132256468046?pr=161967
Sanitizers / UBSan https://github.com/python/cpython/actions/runs/43533398751/job/132256468224?pr=161967
Sanitizers / MSan https://github.com/python/cpython/actions/runs/43533398751/job/132256468321?pr=161967
Cross build Linux https://github.com/python/cpython/actions/runs/43533398751/job/132256466181?pr=161967
CIFuzz / python3-libraries (address) https://github.com/python/cpython/actions/runs/43533398751/job/132256468027?pr=161967
CIFuzz / cpython3 (undefined) https://github.com/python/cpython/actions/runs/43533398751/job/132256468163?pr=161967
CIFuzz / cpython3 (memory) https://github.com/python/cpython/actions/runs/43533398751/job/132256468315?pr=161967
All required checks pass https://github.com/python/cpython/actions/runs/43533398751/job/132268768698?pr=161967
Check labels on: pull_request https://github.com/python/cpython/actions/runs/43533411562
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/43533411562/job/132256419832?pr=161967
Unresolved review https://github.com/python/cpython/actions/runs/43533411562/job/132256419612?pr=161967
ClusterFuzzLite/CIFuzz https://github.com/python/cpython/pull/161967/checks?check_run_id=132263363769
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.