Go to file
Dominique Leuenberger c27855f935 Accepting request 1087114 from devel:languages:python
- update to 4.0.0:
  * Fixed ``@typechecked`` optimization causing compilation of
    instrumented code to fail  when an ``if`` block was left
    empty by the AST transformer
  * Fixed the AST transformer trying to parse the second argument
    of ``typing.Annotated`` as a forward reference
  * Added ``InstrumentationWarning`` to the public API
  * Changed ``@typechecked`` to skip instrumentation in optimized
    mode, as in typeguard 2.x
  * Avoid type checks where the types in question are shadowed by
    local variables
  * Fixed instrumentation using ``typing.Optional`` without a
    subscript when the subscript value was erased due to
    being an ignored import
  * Fixed ``TypeError: isinstance() arg 2 must be a type or tuple
    of types`` when instrumented code tries to check a value
    against a naked (``str``, not ``ForwardRef``)
  * forward reference
  * Fixed instrumentation using the wrong "self" type in the
    ``__new__()`` method
  * Fixed imports guarded by ``if TYPE_CHECKING:`` when used with
    subscripts
  * (``SomeType[...]``) being replaced with ``Any[...]`` instead
    of just ``Any``
  * Fixed instrumentation inadvertently mutating a function's
    annotations on Python 3.7 and 3.8
  * Fixed ``Concatenate[...]`` in ``Callable`` parameters causing
    ``TypeError`` to be raised
  * Fixed type checks for ``*args`` or ``**kwargs`` not being
    suppressed when their types are unusable

OBS-URL: https://build.opensuse.org/request/show/1087114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typeguard?expand=0&rev=4
2023-05-19 09:55:17 +00:00
.gitattributes - Initial version 2020-06-29 06:34:24 +00:00
.gitignore - Initial version 2020-06-29 06:34:24 +00:00
python-typeguard.changes - update to 4.0.0: 2023-05-14 16:39:43 +00:00
python-typeguard.spec - update to 4.0.0: 2023-05-14 16:39:43 +00:00
typeguard-4.0.0.tar.gz - update to 4.0.0: 2023-05-14 16:39:43 +00:00