2023-02-14 20:09:59 by Adam Ciarcinski | Files touched by this commit (6) | |
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. |
2022-11-22 14:28:32 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-mypy: updated to 0.991 Mypy 0.991 Basic Python 3.11 Support Breaking Change: No Implicit Optional Types for Arguments Breaking Change: Namespace Packages Enabled by Default Recursive Types Enabled By Default Error Codes Shown by Default Safe Handling of Empty Function Bodies Enabling Experimental Features Individually Configuring Packages/Modules in the Config File Warn about Variable Annotations in Unchecked Functions Error Code for Using an Abstract Class as type[T] Performance Improvements |
2022-11-08 09:57:44 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-mypy: updated to 0.990 v0.990 Remove +dev from version |
2022-10-06 21:38:56 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-mypy: updated to 0.982 0.981 * Support for Python 3.6 and 2 Dropped * Generate Error on Unbound TypeVar Return Type * Methods with Empty Bodies in Protocols Are Abstract * Implicit Optional Types Will Be Disabled by Default * Precise Types for **kwds Using TypedDict * Experimental Support for General Recursive Types * Generic NamedTuples and TypedDicts * Better Support for Callable Attributes * Per-Module Error Code Configuration * Experimental Support for Interactive Inspection of Expressions |
2022-08-18 09:33:45 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-mypy: updated to 0.971 0.971 Speed up accessing always defined native attributes Reduce the overhead of reference counting Fix Python 3.11 C API errors Generate smaller code for casts and some implicit type coercions Optimize calling Python objects with zero or one arguments Replace integer floor division by a power of two with a shift Add primitives for faster access of float and tuple type objects Fix compile error related to operator assignment in a generator function |
2022-07-01 19:13:49 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-mypy: updated to 0.961 0.961: Unknown changes |
2022-05-28 13:46:13 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-mypy: updated to 0.960 Mypy 0.960 Minimal Support for LiteralString Per-file Timing Stats Performance Improvements Experimental Fast Module Lookup Documentation Updates Improvements to Plugin System ParamSpec Improvements Fixes to Crashes |
2022-05-02 10:19:26 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-mypy: updated to 0.950 0.950 Pinning Third-Party Library Stub Versions Concatenate and Literals with ParamSpec Detect Unused Coroutines and Awaitables assert_type |
2022-03-31 09:30:09 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-mypy: updated to 0.942 0.942: Fixes to Regressions Let overload item have a more general return type than the implementation Fix inheritance false positives with dataclasses/attrs Support overriding dunder attributes in Enum subclass Fix small conditional overload regression Other Fixes Fix issues related to the order of processing in the builtins import cycle Fix crash in match statement if class name is undefined Allow non-final __match_args__ and overriding |
2022-03-15 06:53:26 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-mypy: updated to 0.941 0.940: Miscellaneous New Features Add support for conditionally defined overloads Give "as" variables in with statements separate scopes when it is safe \ to do so Add an optional error code ignore-without-code to require ignore comments to \ have error codes Add support for typing.Never and typing_extensions.Never as alternative \ spellings of NoReturn Add support for typing.reveal_type Support universal2 macOS wheels Add match_args support to attr.s() Enum Improvements Check Enum definition for invalid base classes Understand the self-destructing nature of Enum._ignore_ Add StrEnum support for Python 3.11 Make enum values final Improve final detection for Enum Fix Enum final properties and writable special members Enum now accepts String literals and final values as 2nd argument Fix false positive about member name reuse in enum Fix enum inheritance regression Mypyc Fixes and Improvements Use Py_TYPE and Py_IsNone Implement additional internal consistency checks Raise AttributeError also for non-refcounted types Fix invalid unlikely() in certain rare branches Skip no-op super calls to object.__init__() Use latest pythoncapi_compat Add helpful message to assert Documentation Updates Add documentations about Enum types Update Enum documentation Improve documentation of allow_redefinition Fix intelligent indexing example Explain generic Protocol[T1, T2, ...] shorthand Clarify that stub-only packages need to be installed Small documentation improvements for conditional overloads Improved Error Messages Improve the "Argument must be a mapping" error message Coalesce Literals when printing unions Suggest typing.Callable when using callable as type Suggest typing.Any when using any as type Add note about wrong error code in type: ignore Add no-overload-impl error code Display ellipsis when formatting variadic tuple[T, ...] Deduplicate error codes for ignore-without-code Tweak ignore-without-code error message Mention common resolutions for build errors Stubtest Improvements Ignore more dunder positional-only errors Fix wrong assumption about relative path Catch more getattr errors Error if module level dunder is missing, housekeeping Ignore __main__ module Error if a dunder method is missing from a stub Error if a function is async at runtime but not in the stub Do not error if a stub is async, but runtime is not Error if a class should be decorated with @final Use VERSIONS for submodules Treat dicts as a subtype of typeddict Ignore more exceptions in stubtest Other Notable Fixes and Improvements Fix non-default keyword-only argument positioning in stubgen Remove orjson stubs from default list Use __truediv__ for Python 2 with __future__ import Fix Python 2 compatibility issue Use type variable bound to infer constraints Handle raise Exception(), None on Python 2.7 Fix inference of protocol against overloaded function Fix an issubclass failure for protocols with overloaded methods Fix crashes in class scoped imports Fix use of TypeAlias from aliased imports Delete open plugin Read pyproject.toml with correct encoding on Windows Fix issue with implicit type aliases in import cycles Forbid extra ParamSpec arguments Fix crash involving explicit any flag and Required Fix join of Any against a union type Simplify unions when erasing last known values Fix crash with yield in comprehension Fix handling of NoReturn in union return types Fix __init__ in dataclasses inheriting from Any Narrow NamedTuple to bool correctly when __bool__ is defined Improve type of __attrs_attrs__ in attrs classes Install dependencies needed for reports via pip install mypy[reports] Consider import * to be an explicit re-export Fix --no-implicit-reexport inconsistency Fix crash if "_" is in builtins Fixes crash on subclassing Annotated without args |