Repository navigation
Move generator and context manager backports out of the “Pure aliases” docs - #834
Merged
AlexWaygood merged 2 commits intoNov 30, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #834 +/- ##
=======================================
Coverage 97.07% 97.07%
=======================================
Files 3 3
Lines 7588 7588
=======================================
Hits 7366 7366
Misses 222 222
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
AlexWaygood
marked this pull request as ready for review
November 29, 2026 18:39
srittau
approved these changes
Nov 30, 2026
AlexWaygood
deleted the
alex/document-generator-and-context-manager-backports
branch
November 30, 2026 13:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
typing_extensionsprovides its own versions ofGenerator,AsyncGenerator,ContextManager, andAsyncContextManageron Python 3.10–3.12 to backport the default type arguments added in Python 3.13. For example,typing_extensions.Generatoraccepts a single type argument at runtime on Python 3.10 because the send and return types both default toNone.Move these four entries from “Pure aliases” to “Abstract Base Classes” and clarify that “Pure aliases” lists direct re-exports from
typing.