Revisions of python-typing_extensions
buildservice-autocommit
accepted
request 1179515
from
Dirk Mueller (dirkmueller)
(revision 59)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 58)
- update to 4.12.2: * Fix regression in v4.12.0 where specialization of certain * generics with an overridden `__eq__` method would raise errors. * Fix tests so they pass on 3.13.0b2 * Preliminary changes for compatibility with the draft implementation of PEP 649 in Python 3.14. * Fix regression in v4.12.0 where nested `Annotated` types would cause `TypeError` to be raised if the nested `Annotated` type had unhashable metadata. * Fix incorrect behaviour of `typing_extensions.ParamSpec` on Python 3.8 and 3.9 that meant that `isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar)` would have a different result in some situations depending on whether or not a profiling function had been set using `sys.setprofile`. * This release focuses on compatibility with the upcoming release of Python 3.13. Most changes are related to the implementation of type parameter defaults (PEP 696).
buildservice-autocommit
accepted
request 1165856
from
Dirk Mueller (dirkmueller)
(revision 57)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 56)
- update to 4.11.0: * Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra. * Fix the runtime behavior of type parameters with defaults * Fix minor discrepancy between error messages produced by `typing` and `typing_extensions` on Python 3.10. * When `include_extra=False`, `get_type_hints()` now strips `ReadOnly` from the annotation.
buildservice-autocommit
accepted
request 1152930
from
Markéta Machová (mcalabkova)
(revision 55)
baserev update by copy to link target
Markéta Machová (mcalabkova)
accepted
request 1152835
from
Adrian Schröter (adrianSuSE)
(revision 54)
- update to 4.10.0: This feature release adds support for PEP 728 (TypedDict with extra items) and PEP 742 (``TypeIs``). - Add support for PEP 728, supporting the `closed` keyword argument and the special `__extra_items__` key for TypedDict. Patch by Zixuan James Li. - Add support for PEP 742, adding `typing_extensions.TypeIs`. Patch by Jelle Zijlstra. - Drop runtime error when a read-only `TypedDict` item overrides a mutable one. Type checkers should still flag this as an error. Patch by Jelle Zijlstra. - Speedup `issubclass()` checks against simple runtime-checkable protocols by around 6% (backporting https://github.com/python/cpython/pull/112717, by Alex Waygood). - Fix a regression in the implementation of protocols where `typing.Protocol` classes that were not marked as `@runtime_checkable` would be unnecessarily introspected, potentially causing exceptions to be raised if the protocol had problematic members. Patch by Alex Waygood, backporting https://github.com/python/cpython/pull/113401. - obsoletes backport-recent-implementation-of-protocol.patch
buildservice-autocommit
accepted
request 1145283
from
Daniel Garcia (dgarcia)
(revision 53)
baserev update by copy to link target
Daniel Garcia (dgarcia)
committed
(revision 52)
- Add backport-recent-implementation-of-protocol.patch upstream patch gh#python/typing_extensions@004b893ddce2
buildservice-autocommit
accepted
request 1135644
from
Dirk Mueller (dirkmueller)
(revision 51)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 50)
- update to 4.9.0: * This feature release adds `typing_extensions.ReadOnly`, as specified by PEP 705, and makes various other improvements, especially to `@typing_extensions.deprecated()`. * Add support for PEP 705, adding `typing_extensions.ReadOnly`. * All parameters on `NewType.__call__` are now positional-only. This means that the signature of `typing_extensions.NewType.__call__` now exactly matches the * signature of `typing.NewType.__call__`. * Fix bug with using `@deprecated` on a mixin class. * Exclude `__match_args__` from `Protocol` members. * When creating a `typing_extensions.NamedTuple` class, ensure `__set_name__` is called on all objects that define `__set_name__` and exist in the values of the `NamedTuple` class's class dictionary. * Support most use cases for PEP 612 with Generic - add transitional typing-extensions provides * Fix tests for Python 3.9
buildservice-autocommit
accepted
request 1118944
from
Ondřej Súkup (mimi_vx)
(revision 49)
baserev update by copy to link target
Ondřej Súkup (mimi_vx)
committed
(revision 48)
Matej Cepl (mcepl)
committed
(revision 47)
- Update to 4.8.0: - Add typing_extensions.Doc, as proposed by PEP 727 - Drop support for Python 3.7 (including PyPy-3.7) - Fix bug where get_original_bases() would return incorrect results when called on a concrete subclass of a generic class - Fix bug where ParamSpec(default=...) would raise a TypeError on Python versions <3.11
buildservice-autocommit
accepted
request 1103731
from
Dirk Mueller (dirkmueller)
(revision 46)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1103699
from
Sebastian Wagner (sebix)
(revision 45)
update to version 4.7.1 required for the current mypy build
buildservice-autocommit
accepted
request 1081799
from
Dirk Mueller (dirkmueller)
(revision 44)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1081679
from
Dirk Mueller (dirkmueller)
(revision 43)
SR for python stack proposal
buildservice-autocommit
accepted
request 1067476
from
Matej Cepl (mcepl)
(revision 42)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1067343
from
Adrian Schröter (adrianSuSE)
(revision 41)
- update to version 4.5.0 Details can be found here: https://pypi.org/project/typing-extensions/4.5.0/ - obsoletes _typed_dict_test_helper.py hack
buildservice-autocommit
accepted
request 1036993
from
Matej Cepl (mcepl)
(revision 40)
baserev update by copy to link target
Displaying revisions 1 - 20 of 59