gh-103763: Implement PEP 695 by JelleZijlstra · Pull Request #103764 · python/cpython · GitHub

github.com

Tin mới

JelleZijlstra:tvobject

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

Implement PEP 695 #103763

Moved portions of earlier prototype into latest main CPython branch. …

Run Tools/build/generate_global_objects.py

Basic C implementation of TypeVar, TypeVarTuple, ParamSpec

fix TypeVar signature

fix TypeVar argument parsing

ParamSpecArgs/Kwargs

make typing importable

Updated unit tests to reflect the latest PEP 695 spec.

Merge remote-tracking branch 'erictraut/type_param_syntax4' into tvob…

Just call typing.py

attempt at pickling

fix a few tests and refcount bugs

Use Name expr for TypeAlias

Add ast optimizer for typeparam

Use Name expr for TypeParameter

Revert AST changes for TypeParams

Merge pull request

broken compiler before merge

Merge remote-tracking branch 'erictraut/type_param_syntax4' into tvob…

Works for functions

fall back to normal scope

does not exactly work

commit before new approach

correctly make it a cellvar

Merge branch 'main' into supermon

PEP 695 changed how class decorators are traced #104686

PEP 695: not all name collisions are tested #105437

Python 3.12 adjustments for typing brain

Python 3.12 adjustments for typing brain