Path to this page:
Subject: CVS commit: pkgsrc/lang
From: Adam Ciarcinski
Date: 2023-02-14 20:09:59
Message id: 20230214190959.AFBEAFA90@cvs.NetBSD.org
Log Message:
py-mypy py-mypy_extensions: updated to 1.0.0
Mypy 1.0 Released
Now that mypy reached 1.0, we’ll switch to a new versioning scheme. Mypy \
version numbers will be of form x.y.z.
Mypy 1.0 is up to 40% faster than mypy 0.991 when type checking the Dropbox \
internal codebase. We also set up a daily job to measure the performance of the \
most recent development version of mypy to make it easier to track changes in \
performance.
Mypy will now generate an error if you use a variable before it’s defined. \
This feature is enabled by default. By default mypy reports an error when it \
infers that a variable is always undefined.
A new experimental possibly-undefined error code is now available that will \
detect variables that may be undefined.
There is now a simpler syntax for declaring generic self types introduced in PEP \
673: the Self type. You no longer have to define a type variable to use “self \
types”, and you can use them with attributes.
Files: