bpo-46032: Check types in singledispatch's register() at declaration time by serhiy-storchaka · Pull Request #30050 · python/cpython · GitHub

github.com

Tin mới

serhiy-storchaka:singledispatch-genericalias

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

bpo-46032: Check types in singledispatch's register() at declaration …

needs backport to 3.9

needs backport to 3.10

awaiting core review

View reviewed changes

Learn more about hiding disruptive comments

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

Merge branch 'main' into singledispatch-genericalias

View reviewed changes

bpo-46032: Check types in singledispatch's register() at declaration …

[3.10] bpo-46032: Check types in singledispatch's register() at decla…

: Check types in singledispatch's register() at decla…

: Check types in singledispatch's register() at declar…

No error for singledispatch on generic types python/mypy#11875

bpo-46998: Allow subclassing Any at runtime #31841

functools' singledispatch does not support GenericAlias #90190