bpo-46642: explicitly disallow typing.TypeVar instance subclassing by GBeauregard · Pull Request #31148 · python/cpython · GitHub

github.com

Tin mới

GBeauregard:fix-typevar-test

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

explicitly disallow typing.TypeVar subclassing

📜🤖 Added by blurb_it.

bpo-23952: Document cgi module's maxlen variable #30338

View reviewed changes

Learn more about hiding disruptive comments

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

awaiting core review

awaiting core review

make test match regex

View reviewed changes

Merge branch 'python:main' into fix-typevar-test

View reviewed changes

typing: tested TypeVar instance subclass TypeError is incidental #90800

Merge branch 'main' into fix-typevar-test

More explicit errors and more tests.

Update a NEWS entry.

Revert 30935 defer bpo45162 to 312 (

emscripten-core/emscripten#17269

https://github.com/python/cpython/issue/89336

gh-103763: Implement PEP 695 #103764