14
0
forked from pool/python-mypy
Go to file
Markéta Machová d2a4a19132 Accepting request 1199903 from home:glaubitz:branches:devel:languages:python
- Update to 1.11.2
  * Support Python 3.12 Syntax for Generics (PEP 695)
  * Support for `functools.partial`
  * Stricter Checks for Untyped Overrides
  * Type Inference Improvements
  * Improvements to Detection of Overlapping Overloads
  * Better Support for Type Hints in Expressions
  * Mypyc Improvements
    + Support Python 3.12 syntax for generic functions and classes
    + Support Python 3.12 type alias syntax
    + Fix ParamSpec
    + Inline fast paths of integer unboxing operations
    + Inline tagged integer arithmetic and bitwise operations
    + Allow specifying primitives as pure
  * Changes to Stubtest
    + Ignore `_ios_support`
    + Improve support for Python 3.13
  * Changes to Stubgen
    + Gracefully handle invalid `Optional` and recognize aliases to PEP 604 unions
    + Fix for Python 3.13
    + Preserve enum value initialisers
  * Miscellaneous New Features
    + Add error format support and JSON output option via `--output json`
    + Support `enum.member` in Python 3.11+
    + Support `enum.nonmember` in Python 3.11+
    + Support `namedtuple.__replace__` in Python 3.13
    + Support `rename=True` in collections.namedtuple
    + Add support for `__spec__`
  * Changes to Error Reporting
    + Mention `--enable-incomplete-feature=NewGenericSyntax` in messages

OBS-URL: https://build.opensuse.org/request/show/1199903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mypy?expand=0&rev=18
2024-09-11 06:59:56 +00:00
2023-09-01 22:14:38 +00:00
Description
No description provided
9.5 MiB
Languages
RPM Spec 100%