Skip to content

Move generator and context manager backports out of the “Pure aliases” docs - #834

Merged
AlexWaygood merged 2 commits into
mainfrom
alex/document-generator-and-context-manager-backports
Nov 30, 2026
Merged

AlexWaygood merged 2 commits into
mainfrom
alex/document-generator-and-context-manager-backports

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

typing_extensions provides its own versions of Generator, AsyncGenerator, ContextManager, and AsyncContextManager on Python 3.10–3.12 to backport the default type arguments added in Python 3.13. For example, typing_extensions.Generator accepts a single type argument at runtime on Python 3.10 because the send and return types both default to None.

Move these four entries from “Pure aliases” to “Abstract Base Classes” and clarify that “Pure aliases” lists direct re-exports from typing.

@codecov

codecov Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.07%. Comparing base (dfd735e) to head (ca9e415).

@@           Coverage Diff           @@
##             main     #834   +/-   ##
=======================================
  Coverage   97.07%   97.07%           
=======================================
  Files           3        3           
  Lines        7588     7588           
=======================================
  Hits         7366     7366           
  Misses        222      222           
Flag Coverage Δ
3.10 91.23% <ø> (ø)
3.10.4 91.23% <ø> (ø)
3.11 90.44% <ø> (ø)
3.11.0 89.68% <ø> (ø)
3.12 90.37% <ø> (ø)
3.12.0 90.36% <ø> (ø)
3.13 85.65% <ø> (ø)
3.13.0 86.38% <ø> (ø)
3.14 81.72% <ø> (ø)
3.14.0 82.46% <ø> (ø)
3.15 78.84% <ø> (ø)
3.15.0 78.84% <ø> (ø)
pypy3.10 91.06% <ø> (ø)
pypy3.11 90.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AlexWaygood
AlexWaygood marked this pull request as ready for review November 29, 2026 18:39
@AlexWaygood
AlexWaygood merged commit 563f2ca into main Nov 30, 2026
25 checks passed
@AlexWaygood
AlexWaygood deleted the alex/document-generator-and-context-manager-backports branch November 30, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants