René's URL Explorer Experiment


Title: [email] contains_token_type was backported to 3.11-3.13 by hoangchunghien · Pull Request #16624 · python/typeshed · GitHub

Open Graph Title: [email] contains_token_type was backported to 3.11-3.13 by hoangchunghien · Pull Request #16624 · python/typeshed

X Title: [email] contains_token_type was backported to 3.11-3.13 by hoangchunghien · Pull Request #16624 · python/typeshed

Description: #16596 added TokenList.contains_token_type and Terminal.contains_token_type behind sys.version_info >= (3, 14), for 3.14.9 and 3.15.1. CPython has since backported them to 3.11.18, 3.12.16 and 3.13.18. The previous patch on each branch doesn't have them: def contains_token_type is absent from Lib/email/_header_value_parser.py at v3.11.17, v3.12.15 and v3.13.17, and present at the three tags above. 3.10 doesn't have it. That's the stdlib half of last night's failure (#16622). Only the Ubuntu jobs fail, because they already run 3.11.18, 3.12.16 and 3.13.18. The macOS runners are still on 3.11.9 and 3.12.10, and Windows passes too. This changes: the guard to sys.version_info >= (3, 11), with the comment listing all five releases; darwin-py311/312/313.txt and win32-py311/312/313.txt, each gaining a temporary block in the existing "Remove once 3.x.y becomes available for GitHub Actions" form. win32-py313 and darwin-py313 had no Temporary section, so I added one at the top as in the py311/py312 files. Checked in Docker: python:3.13.18-slim and python:3.12.16-slim, full tests/stubtest_stdlib.py: no errors for email (the only errors are tkinter, turtle, _tkinter and one socket item, from the slim images lacking Tk). python:3.13.15-slim, standing in for the older macOS/Windows patches: stubtest on email._header_value_parser reports the two methods as not present at runtime, and passes with the new allowlist entries. mypy_test.py stdlib/email, check_typeshed_structure.py, flake8 and black pass. No 3.11.18 image is published, so 3.11 rests on the CPython tags and the Ubuntu CI run. Refs #16622 (the third-party half is #16623).

Open Graph Description: #16596 added TokenList.contains_token_type and Terminal.contains_token_type behind sys.version_info >= (3, 14), for 3.14.9 and 3.15.1. CPython has since backported them to 3.11.18, 3.12.16 and 3...

X Description: #16596 added TokenList.contains_token_type and Terminal.contains_token_type behind sys.version_info >= (3, 14), for 3.14.9 and 3.15.1. CPython has since backported them to 3.11.18, 3.12.16 a...

Opengraph URL: https://github.com/python/typeshed/pull/16624

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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e27914f9-d89b-8d8a-db9e-786512868676
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA88C:1AE20C:4E8C241:6322099:6B025B7E
html-safe-nonce5c93181bfb02a0702176d7a6bfdef9cc2982ad9f84df2868312af36ab6749280
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODhDOjFBRTIwQzo0RThDMjQxOjYzMjIwOTk6NkIwMjVCN0UiLCJ2aXNpdG9yX2lkIjoiNDA4NzczMzg5NjM4MDY1MDIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1dd79d1ae92fc9a1c54c94e415cc6b6623e5a6ee8a0f0edf08f8e5618de7e885
hovercard-subject-tagpull_request:5027453077
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/typeshed/pull/16624/files
twitter:imagehttps://avatars.githubusercontent.com/u/5634477?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5634477?s=400&v=4
og:image:alt#16596 added TokenList.contains_token_type and Terminal.contains_token_type behind sys.version_info >= (3, 14), for 3.14.9 and 3.15.1. CPython has since backported them to 3.11.18, 3.12.16 and 3...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/python/typeshed/pull/16624/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F16624%2Ffiles
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%2Ftypeshed%2Fpull%2F16624%2Ffiles
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%2Ffiles&source=header-repo&source_repo=python%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/16624/files
Reloadhttps://github.com/python/typeshed/pull/16624/files
Reloadhttps://github.com/python/typeshed/pull/16624/files
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues195 (195)https://github.com/python/typeshed/issues
Pull requests250 (250)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose
srittauhttps://github.com/srittau
python:mainhttps://github.com/python/typeshed/tree/main
hoangchunghien:email-contains-token-type-backporthttps://github.com/hoangchunghien/typeshed/tree/email-contains-token-type-backport
Conversation 2 https://github.com/python/typeshed/pull/16624
Commits 1 https://github.com/python/typeshed/pull/16624/commits
Checks 87 https://github.com/python/typeshed/pull/16624/checks
Files changed https://github.com/python/typeshed/pull/16624/files
Please reload this pagehttps://github.com/python/typeshed/pull/16624/files
[email] contains_token_type was backported to 3.11-3.13 https://github.com/python/typeshed/pull/16624/files#top
Show all changes 1 commit https://github.com/python/typeshed/pull/16624/files
9b68380 [email] contains_token_type was backported to 3.11-3.13 hoangchunghien Oct 27, 2026 https://github.com/python/typeshed/pull/16624/commits/9b683808581f8d535a4f693bed9690ee914aa6da
Clear filters https://github.com/python/typeshed/pull/16624/files
Please reload this pagehttps://github.com/python/typeshed/pull/16624/files
Please reload this pagehttps://github.com/python/typeshed/pull/16624/files
darwin-py311.txt https://github.com/python/typeshed/pull/16624/files#diff-c2207f25a14473605492e3119631bdb81125c88fad046d97a6bc12ab32437af9
darwin-py312.txt https://github.com/python/typeshed/pull/16624/files#diff-07a4861a895a39f1222d31b48df10f7a70814c6a5195dc11702f78c6d75405fb
darwin-py313.txt https://github.com/python/typeshed/pull/16624/files#diff-a39a060f1c59c3130b4ab42080768e7a778b96122e92962780744d2d0524fda7
win32-py311.txt https://github.com/python/typeshed/pull/16624/files#diff-eaa6006511464ee92cdaa07e58080449849979c87bbf98c19460bdb55dd4772b
win32-py312.txt https://github.com/python/typeshed/pull/16624/files#diff-7bf175a4bfe16128ee32401e2056f590f085c0105ac32d200b84415c5956544b
win32-py313.txt https://github.com/python/typeshed/pull/16624/files#diff-c4650e4d06748777e4f439a14ea9eb58754adfd1002e7e5be94fdd8d368e5247
_header_value_parser.pyi https://github.com/python/typeshed/pull/16624/files#diff-3e8b41431777c7e9e7b6a2f7568e10a94e19818af80aeecbce7e460964873a88
stdlib/@tests/stubtest_allowlists/darwin-py311.txthttps://github.com/python/typeshed/pull/16624/files#diff-c2207f25a14473605492e3119631bdb81125c88fad046d97a6bc12ab32437af9
View file https://github.com/hoangchunghien/typeshed/blob/9b683808581f8d535a4f693bed9690ee914aa6da/stdlib/%40tests/stubtest_allowlists/darwin-py311.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/16624/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/16624/files#diff-c2207f25a14473605492e3119631bdb81125c88fad046d97a6bc12ab32437af9
https://github.com/python/typeshed/pull/16624/files#diff-c2207f25a14473605492e3119631bdb81125c88fad046d97a6bc12ab32437af9
stdlib/@tests/stubtest_allowlists/darwin-py312.txthttps://github.com/python/typeshed/pull/16624/files#diff-07a4861a895a39f1222d31b48df10f7a70814c6a5195dc11702f78c6d75405fb
View file https://github.com/hoangchunghien/typeshed/blob/9b683808581f8d535a4f693bed9690ee914aa6da/stdlib/%40tests/stubtest_allowlists/darwin-py312.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/16624/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/16624/files#diff-07a4861a895a39f1222d31b48df10f7a70814c6a5195dc11702f78c6d75405fb
https://github.com/python/typeshed/pull/16624/files#diff-07a4861a895a39f1222d31b48df10f7a70814c6a5195dc11702f78c6d75405fb
stdlib/@tests/stubtest_allowlists/darwin-py313.txthttps://github.com/python/typeshed/pull/16624/files#diff-a39a060f1c59c3130b4ab42080768e7a778b96122e92962780744d2d0524fda7
View file https://github.com/hoangchunghien/typeshed/blob/9b683808581f8d535a4f693bed9690ee914aa6da/stdlib/%40tests/stubtest_allowlists/darwin-py313.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/16624/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/16624/files#diff-a39a060f1c59c3130b4ab42080768e7a778b96122e92962780744d2d0524fda7
stdlib/@tests/stubtest_allowlists/win32-py311.txthttps://github.com/python/typeshed/pull/16624/files#diff-eaa6006511464ee92cdaa07e58080449849979c87bbf98c19460bdb55dd4772b
View file https://github.com/hoangchunghien/typeshed/blob/9b683808581f8d535a4f693bed9690ee914aa6da/stdlib/%40tests/stubtest_allowlists/win32-py311.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/16624/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/16624/files#diff-eaa6006511464ee92cdaa07e58080449849979c87bbf98c19460bdb55dd4772b
https://github.com/python/typeshed/pull/16624/files#diff-eaa6006511464ee92cdaa07e58080449849979c87bbf98c19460bdb55dd4772b
stdlib/@tests/stubtest_allowlists/win32-py312.txthttps://github.com/python/typeshed/pull/16624/files#diff-7bf175a4bfe16128ee32401e2056f590f085c0105ac32d200b84415c5956544b
View file https://github.com/hoangchunghien/typeshed/blob/9b683808581f8d535a4f693bed9690ee914aa6da/stdlib/%40tests/stubtest_allowlists/win32-py312.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/16624/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/16624/files#diff-7bf175a4bfe16128ee32401e2056f590f085c0105ac32d200b84415c5956544b
https://github.com/python/typeshed/pull/16624/files#diff-7bf175a4bfe16128ee32401e2056f590f085c0105ac32d200b84415c5956544b
stdlib/@tests/stubtest_allowlists/win32-py313.txthttps://github.com/python/typeshed/pull/16624/files#diff-c4650e4d06748777e4f439a14ea9eb58754adfd1002e7e5be94fdd8d368e5247
View file https://github.com/hoangchunghien/typeshed/blob/9b683808581f8d535a4f693bed9690ee914aa6da/stdlib/%40tests/stubtest_allowlists/win32-py313.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/16624/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/16624/files#diff-c4650e4d06748777e4f439a14ea9eb58754adfd1002e7e5be94fdd8d368e5247
stdlib/email/_header_value_parser.pyihttps://github.com/python/typeshed/pull/16624/files#diff-3e8b41431777c7e9e7b6a2f7568e10a94e19818af80aeecbce7e460964873a88
View file https://github.com/hoangchunghien/typeshed/blob/9b683808581f8d535a4f693bed9690ee914aa6da/stdlib/email/_header_value_parser.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/typeshed/pull/16624/{{ revealButtonHref }}
https://github.com/python/typeshed/pull/16624/files#diff-3e8b41431777c7e9e7b6a2f7568e10a94e19818af80aeecbce7e460964873a88
https://github.com/python/typeshed/pull/16624/files#diff-3e8b41431777c7e9e7b6a2f7568e10a94e19818af80aeecbce7e460964873a88
https://github.com/python/typeshed/pull/16624/files#diff-3e8b41431777c7e9e7b6a2f7568e10a94e19818af80aeecbce7e460964873a88
https://github.com/python/typeshed/pull/16624/files#diff-3e8b41431777c7e9e7b6a2f7568e10a94e19818af80aeecbce7e460964873a88
Please reload this pagehttps://github.com/python/typeshed/pull/16624/files
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.