gh-99535: Add test for inheritance of annotations and update documentation by MonadChains · Pull Request #99990 · python/cpython · GitHub

github.com

Tin mới

MonadChains:gh-99535/annotations_inheritance_test_and_doc

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

__annotations__ are not inherited in 3.10 while they are in 3.8 #99535

Add test for inheritance of annotations and update documentation

View reviewed changes

Add multiple inheritance case to test

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Add note to get_type_hints

View reviewed changes

Add additional test

Rework annotations.rst addition

Improve get_type_hints entry

View reviewed changes

needs backport to 3.10

needs backport to 3.11

: Add test for inheritance of annotations and update do…

[3.10] gh-99535: Add test for inheritance of annotations and update d… #100509

[3.10] gh-99535: Add test for inheritance of annotations and update documentation (GH-99990). (cherry picked from commit f5b7b19bf10724d831285fb04e00f763838bd555) Co-authored-by: MonadChains <[email protected]>

: Add test for inheritance of annotations and update document…

: Add test for inheritance of annotations and update d…

Merged main into regmachine branch (