|
| 1 | +------------------------------------------------------------------- |
| 2 | +Thu May 11 06:02:09 UTC 2023 - Matej Cepl < [email protected]> |
| 3 | + |
| 4 | +- Skip over failing testMathOps (gh#python/mypy#15221). |
| 5 | + |
| 6 | +------------------------------------------------------------------- |
| 7 | +Wed May 10 20:36:45 UTC 2023 - Matej Cepl < [email protected]> |
| 8 | + |
| 9 | +- Update to 1.3.0: |
| 10 | + - Improve performance of union subtyping |
| 11 | + - Add negative subtype caches |
| 12 | + - Stubtest: Check that the stub is abstract if the runtime is, |
| 13 | + even when the stub is an overloaded method |
| 14 | + - Stubtest: Verify stub methods or properties are decorated |
| 15 | + with @final if they are decorated with @final at runtime |
| 16 | + - Stubtest: Fix stubtest false positives with TypedDicts at |
| 17 | + runtime |
| 18 | + - Stubgen: Support @functools.cached_property |
| 19 | + - Improvements to stubgenc |
| 20 | + - Add support for converters with TypeVars on generic attrs |
| 21 | + classes |
| 22 | + - Fix attrs.evolve on bound TypeVar |
| 23 | + - Improve async documentation |
| 24 | + - Improvements to cheat sheet |
| 25 | + - Add documentation for bytes formatting error code |
| 26 | + - Convert insecure links to use HTTPS |
| 27 | + - Also mention overloads in async iterator documentation |
| 28 | + - stubtest: Improve allowlist documentation |
| 29 | + - Clarify "Using types... but not at runtime" |
| 30 | + - Fix alignment of cheat sheet example |
| 31 | + - Fix error for callback protocol matching against callable |
| 32 | + type object |
| 33 | + - Improve bytes formatting error |
| 34 | + - Fix unions of bools and ints |
| 35 | + - Fix narrowing union types that include Self with isinstance |
| 36 | + - Allow objects matching SupportsKeysAndGetItem to be unpacked |
| 37 | + - Check type guard validity for staticmethods |
| 38 | + - Fix sys.platform when cross-compiling with emscripten |
| 39 | + |
| 40 | +------------------------------------------------------------------- |
| 41 | +Mon May 8 13:56:42 UTC 2023 - Johannes Kastl < [email protected]> |
| 42 | + |
| 43 | +- add sle15_python_module_pythons |
| 44 | + |
| 45 | +------------------------------------------------------------------- |
| 46 | +Sun May 7 09:54:51 UTC 2023 - Sebastian Wagner < [email protected]> |
| 47 | + |
| 48 | +- update typed_ast to version 1.5.8.6 |
| 49 | +- update types_psutil to version 5.9.5.12 |
| 50 | +- update types_setuptools to version 67.7.0.1 |
| 51 | +- fix "E: wrong-script-end-of-line-encoding" and "E: spurious-executable-perm" for docs/make.bat |
| 52 | +- fix "W: python-doc-in-package" for %{$python_sitelib}/mypyc/doc in Python 3.9, 3.10 and 3.11 |
| 53 | +- update mypy to version 1.2.0: |
| 54 | + - Improvements to Dataclass Transforms |
| 55 | + - Support implicit default for "init" parameter in field specifiers (Wesley Collin Wright and Jukka Lehtosalo, PR 15010) |
| 56 | + - Support descriptors in dataclass transform (Jukka Lehtosalo, PR 15006) |
| 57 | + - Fix frozen_default in incremental mode (Wesley Collin Wright) |
| 58 | + - Fix frozen behavior for base classes with direct metaclasses (Wesley Collin Wright, PR 14878) |
| 59 | + - Mypyc: Native Floats |
| 60 | + - Mypyc now uses a native, unboxed representation for values of type float. Previously these were heap-allocated Python objects. Native floats are faster and use less memory. Code that uses floating-point operations heavily can be several times faster when using native floats. |
| 61 | + - Various float operations and math functions also now have optimized implementations. Refer to the documentation for a full list. |
| 62 | + - This can change the behavior of existing code that uses subclasses of float. When assigning an instance of a subclass of float to a variable with the float type, it gets implicitly converted to a float instance when compiled |
| 63 | + - Previously, implicit conversions were applied to int subclasses but not float subclasses. |
| 64 | + - Also, int values can no longer be assigned to a variable with type float in compiled code, since these types now have incompatible representations. An explicit conversion is required. |
| 65 | + - This restriction only applies to assignments, since they could otherwise narrow down the type of a variable from float to int. int values can still be implicitly converted to float when passed as arguments to functions that expect float values. |
| 66 | + - Note that mypyc still doesn’t support arrays of unboxed float values. Using list[float] involves heap-allocated float objects, since list can only store boxed values. Support for efficient floating point arrays is one of the next major planned mypyc features. |
| 67 | + - Related changes: |
| 68 | + - Use a native unboxed representation for floats (Jukka Lehtosalo, PR 14880) |
| 69 | + - Document native floats and integers (Jukka Lehtosalo, PR 14927) |
| 70 | + - Fixes to float to int conversion (Jukka Lehtosalo, PR 14936) |
| 71 | + - Mypyc: Native Integers |
| 72 | + - Mypyc now supports signed 32-bit and 64-bit integer types in addition to the arbitrary-precision int type. You can use the types mypy_extensions.i32 and mypy_extensions.i64 to speed up code that uses integer operations heavily. |
| 73 | + - Refer to the documentation for more information. This feature was contributed by Jukka Lehtosalo. |
| 74 | + - Other Mypyc Fixes and Improvements |
| 75 | + - Support iterating over a TypedDict (Richard Si, PR 14747) |
| 76 | + - Faster coercions between different tuple types (Jukka Lehtosalo, PR 14899) |
| 77 | + - Faster calls via type aliases (Jukka Lehtosalo, PR 14784) |
| 78 | + - Faster classmethod calls via cls (Jukka Lehtosalo, PR 14789) |
| 79 | + - Fixes to Crashes |
| 80 | + - Fix crash on class-level import in protocol definition (Ivan Levkivskyi, PR 14926) |
| 81 | + - Fix crash on single item union of alias (Ivan Levkivskyi, PR 14876) |
| 82 | + - Fix crash on ParamSpec in incremental mode (Ivan Levkivskyi, PR 14885) |
| 83 | + - Documentation Updates |
| 84 | + - Update adopting --strict documentation for 1.0 (Shantanu, PR 14865) |
| 85 | + - Some minor documentation tweaks (Jukka Lehtosalo, PR 14847) |
| 86 | + - Improve documentation of top level mypy: disable-error-code comment (Nikita Sobolev, PR 14810) |
| 87 | + - Error Reporting Improvements |
| 88 | + - Add error code to typing_extensions suggestion (Shantanu, PR 14881) |
| 89 | + - Add a separate error code for top-level await (Nikita Sobolev, PR 14801) |
| 90 | + - Don’t suggest two obsolete stub packages (Jelle Zijlstra, PR 14842) |
| 91 | + - Add suggestions for pandas-stubs and lxml-stubs (Shantanu, PR 14737) |
| 92 | + - Other Fixes and Improvements |
| 93 | + - Multiple inheritance considers callable objects as subtypes of functions (Christoph Tyralla, PR 14855) |
| 94 | + - stubtest: Respect @final runtime decorator and enforce it in stubs (Nikita Sobolev, PR 14922) |
| 95 | + - Fix false positives related to type[<type-var>] (sterliakov, PR 14756) |
| 96 | + - Fix duplication of ParamSpec prefixes and properly substitute ParamSpecs (EXPLOSION, PR 14677) |
| 97 | + - Fix line number if __iter__ is incorrectly reported as missing (Jukka Lehtosalo, PR 14893) |
| 98 | + - Fix incompatible overrides of overloaded generics with self types (Shantanu, PR 14882) |
| 99 | + - Allow SupportsIndex in slice expressions (Shantanu, PR 14738) |
| 100 | + - Support if statements in bodies of dataclasses and classes that use dataclass_transform (Jacek Chałupka, PR 14854) |
| 101 | + - Allow iterable class objects to be unpacked (including enums) (Alex Waygood, PR 14827) |
| 102 | + - Fix narrowing for walrus expressions used in match statements (Shantanu, PR 14844) |
| 103 | + - Add signature for attr.evolve (Ilya Konstantinov, PR 14526) |
| 104 | + - Fix Any inference when unpacking iterators that don't directly inherit from typing.Iterator (Alex Waygood, PR 14821) |
| 105 | + - Fix unpack with overloaded __iter__ method (Nikita Sobolev, PR 14817) |
| 106 | + - Reduce size of JSON data in mypy cache (dosisod, PR 14808) |
| 107 | + - Improve “used before definition” checks when a local definition has the same name as a global definition (Stas Ilinskiy, PR 14517) |
| 108 | + - Honor NoReturn as __setitem__ return type to mark unreachable code (sterliakov, PR 12572) |
| 109 | + |
1 | 110 | ------------------------------------------------------------------- |
2 | 111 | Wed Apr 12 12:37:48 UTC 2023 - Matej Cepl < [email protected]> |
3 | 112 |
|
|
0 commit comments