Download Latest Version PEP695 v0 source code.tar.gz (7.4 MB)
Email in envelope

Get an email when there's a new version of Pyre

Home / v0.9.23
Name Modified Size InfoDownloads / Week
Parent folder
PEP695 v0 source code.tar.gz 2024-10-29 7.4 MB
PEP695 v0 source code.zip 2024-10-29 9.0 MB
README.md 2024-10-29 649 Bytes
Totals: 3 Items   16.5 MB 0

We support basic PEP695 syntax, which includes writing generic type variables, param spec and type var tuples in the new style. We also support bounds. Let us list some sandbox examples:

1- Generic type variables for classes and methods, with bounds 2- Generic type variables for functions 3- ParamSpec 4- TypeVarTuple 5- Type Statements 6- Fully conformant bound checking

What are we not conformant on?

1- Mixing legacy and PEP695 syntax 2- PEP695 variables cannot be used in the same way that legacy style syntax when it comes to declaring them 3- We have to keep track type variable redefinitions within the program itself

Source: README.md, updated 2024-10-29