Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python/typing_extensions
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.8.0
Choose a base ref
...
head repository: python/typing_extensions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.9.0
Choose a head ref
  • 16 commits
  • 10 files changed
  • 6 contributors

Commits on Sep 28, 2023

  1. Make NewType.__call__ params positional-only (#288)

    This is really minor, but it means that the signature of `typing_extensions.NewType.__call__` exactly matches that of `typing.NewType.__call__` on all Python versions we support:
    
    ```pycon
    Python 3.8.16 (default, Mar  2 2023, 03:18:16) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from typing import NewType
    >>> x = NewType("x", int)
    >>> x(obj=42)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    TypeError: new_type() got an unexpected keyword argument 'obj'
    ```
    
    ```pycon
    Python 3.10.8 | packaged by conda-forge | (main, Nov 24 2022, 14:07:00) [MSC v.1916 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> x = NewType("x", int)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    NameError: name 'NewType' is not defined
    >>> from typing import NewType
    >>> x = NewType("x", int)
    >>> x(obj=42)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    TypeError: NewType.__call__() got an unexpected keyword argument 'obj'
    ```
    AlexWaygood authored Sep 28, 2023
    Copy the full SHA
    5d20e9e View commit details

Commits on Oct 4, 2023

  1. Copy the full SHA
    b6318ab View commit details

Commits on Oct 18, 2023

  1. Fix tests on Python 3.13 (#291)

    This is a followup for d95cc22
    
    The removed block raises TypeError on Python 3.13+.
    
    The TypeError is already asserted in test_keywords_syntax_raises_on_3_13.
    
    For older Pythons, the DeprecationWarning and __name__ + __annotations__ value
    are already asserted in test_typeddict_special_keyword_names.
    hroncok authored Oct 18, 2023
    Copy the full SHA
    04f9895 View commit details

Commits on Oct 19, 2023

  1. Run tests on Python 3.13 (#292)

    * Run pydantic's tests on py312; bump PyPy to PyPy3.10 for typeguard's tests
    
    Pydantic started testing with py312 in pydantic/pydantic@ea7bf54
    
    Typeguard bumped the version of PyPy they test with in CI in agronholm/typeguard@9aa873a
    
    Co-authored-by: Alex Waygood <[email protected]>
    hugovk and AlexWaygood authored Oct 19, 2023
    Copy the full SHA
    fda0c15 View commit details

Commits on Oct 29, 2023

  1. Copy the full SHA
    9de9fd6 View commit details

Commits on Oct 31, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    fc9acbd View commit details

Commits on Nov 4, 2023

  1. Copy the full SHA
    f9f257c View commit details

Commits on Nov 8, 2023

  1. Copy the full SHA
    7af82f9 View commit details

Commits on Nov 29, 2023

  1. Copy the full SHA
    4f91502 View commit details
  2. Copy the full SHA
    e4d9d8b View commit details
  3. Backport recent improvements to the error message when trying to call…

    … `issubclass()` against a protocol with non-method members (#304)
    AlexWaygood authored Nov 29, 2023
    Copy the full SHA
    18ae2b3 View commit details
  4. Update @deprecated implementation (#302)

    Co-authored-by: Alex Waygood <[email protected]>
    JelleZijlstra and AlexWaygood authored Nov 29, 2023
    Copy the full SHA
    db6f9b4 View commit details
  5. Add support for PEP 705 (#284)

    Co-authored-by: Alice <[email protected]>
    Co-authored-by: Alex Waygood <[email protected]>
    3 people authored Nov 29, 2023
    Copy the full SHA
    0b0166d View commit details
  6. Copy the full SHA
    daa7931 View commit details
  7. Copy the full SHA
    f82d636 View commit details

Commits on Dec 10, 2023

  1. Release 4.9.0 (#313)

    JelleZijlstra authored Dec 10, 2023
    Copy the full SHA
    fc461d6 View commit details
Loading