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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b5dadf1
Choose a base ref
...
head repository: python/typing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9a39406
Choose a head ref
  • 18 commits
  • 13 files changed
  • 7 contributors

Commits on Feb 14, 2022

  1. Improve release instructions (#1078)

    This is what I've actually been doing, but better to document it.
    JelleZijlstra authored Feb 14, 2022
    Configuration menu
    Copy the full SHA
    1cb25b8 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. Document how to test type annotations (#1071)

    This is a slightly broader refactor than just testing. It also
    consolidates information about checking type coverage/completeness.
    
    This originates from a thread on the mypy tracker [1]. In terms of
    presentation, the goal is to present guidance and offer up several
    options, many of which were proposed by contributors to that thread.
    
    Several of the goals from that thread were not achieved here,
    including documentation covering stubgen and monkeytype, stubtest, and
    potentially more. However, the document is written such that it should
    be possible to add a section on "Generating Annotations" as was
    planned earlier.
    
    [1]: python/mypy#11506
    sirosen authored Feb 21, 2022
    Configuration menu
    Copy the full SHA
    02d79c2 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Configuration menu
    Copy the full SHA
    95c9c2b View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. Configuration menu
    Copy the full SHA
    0ca0e45 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. Configuration menu
    Copy the full SHA
    3bcfc9e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07fb800 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db20497 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Configuration menu
    Copy the full SHA
    5eed34c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9d3181 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Configuration menu
    Copy the full SHA
    9169152 View commit details
    Browse the repository at this point in the history
  2. Fix "accepts only single type" errors (#1130)

    - Add "a" to make the message grammatical
    - Add a trailing period because _type_check adds another sentence after it. For example, `Unpack[3]` on 3.10 currently fails with `TypeError: Unpack accepts only single type Got 3.`.
    - Use an f-string
    JelleZijlstra authored Apr 11, 2022
    Configuration menu
    Copy the full SHA
    cba3a90 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. Add assert_type to __all__ (#1136)

    Looks like this is in `typing.__all__` but was missed out of `typing_extensions.__all__`
    AlexWaygood authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    e7bc381 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2022

  1. Configuration menu
    Copy the full SHA
    2acaa5a View commit details
    Browse the repository at this point in the history
  2. Add get_overloads() (#1140)

    Co-authored-by: Alex Waygood <[email protected]>
    JelleZijlstra and AlexWaygood authored Apr 16, 2022
    Configuration menu
    Copy the full SHA
    35dff91 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b595c73 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2312c74 View commit details
    Browse the repository at this point in the history
  5. Fix tests on Python 3.11 (#1139)

    - Defer to the PEP 646 implementation in typing.py on 3.11
    - Adjust some tests accordingly. Noted a bug in
      python/cpython#32341 (comment)
    - typing._type_check() is more lenient in 3.11 and no longer rejects ints
    - The representation of the empty tuple type changed
    
    Tests pass for me on a 3.11 build from today now.
    JelleZijlstra authored Apr 16, 2022
    Configuration menu
    Copy the full SHA
    783c8ca View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2022

  1. Configuration menu
    Copy the full SHA
    9a39406 View commit details
    Browse the repository at this point in the history
Loading