gh-101688: Implement types.get_original_bases by Gobot1234 · Pull Request #101827 · python/cpython · GitHub

github.com

Tin mới

Gobot1234:orig_class-and-bases

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

Add typing.get_orig_bases and typing.get_orig_class #101688

Implement typing.get_orig_class and get_orig_bases

📜🤖 Added by blurb_it.

Apparently my lsp wasn't working

Removing trailing whitespace

Merge branch 'main' into orig_class-and-bases

View reviewed changes

Learn more about hiding disruptive comments

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

Respond to initial review

Remove trailing ws

View reviewed changes

Respond to second round of review

Fix last few comments

Merge remote-tracking branch 'upstream/main' into orig_class-and-bases

Merge branch 'main' into orig_class-and-bases

View reviewed changes

View reviewed changes

View reviewed changes

Revert "Document type.__orig_bases__"

Update Doc/library/types.rst

View reviewed changes

Doc/library/types.rst

cpython/Doc/library/typing.rst

View reviewed changes

Merge remote-tracking branch 'upstream/main' into orig_class-and-bases

More tests and docs following

Add a backport of types.get_original_bases python/typing_extensions#154

python3-typing-extensions: upgrade 4.5.0 -> 4.6.2

python/cpython#23294

python/cpython#23383