Skip to content

Commits

Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on May 27, 2023

Commits on May 26, 2023

  1. Support 3.12 (#173)

    JelleZijlstra committed May 26, 2023
  2. Minor improvements to CI workflows (#201)

    - Use the new `allow-prereleases` key for `actions/setup-python`. If we set this to `true`, then we can just use `3.12` in our CI matrix, instead of `3.12-dev`. That means we won't have to worry about updating the matrix from `3.12-dev` to `3.12` when 3.12.0 comes out in the autumn; our CI will automatically start using the latest version of Python 3.12.
    - Colorise the output of flake8.
    - Don't bother upgrading pip in CI. It's not really necessary, and wastes a few seconds. Disable the "you're using an older version of pip" message instead, using the `PIP_DISABLE_PIP_VERSION_CHECK` environment variable.
    AlexWaygood committed May 26, 2023

Commits on May 22, 2023

  1. add infer_variance for ParamSpec (#172)

    For compatibility with Python 3.12, which adds this undocumented
    parameter along with the existing covariant/contravariant ones.
    Intentionally leaving this undocumented: it's here in case we want
    to make variance on ParamSpec mean something later, but it currently
    has no supported use.
    JelleZijlstra committed May 22, 2023

Commits on May 21, 2023

  1. Add documentation page for typing-extensions (#166)

    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    JelleZijlstra and AlexWaygood committed May 21, 2023
  2. Further 3.12 compatibility fixes (#164)

    Make our TypeAliasType behave exactly like the 3.12 one
    JelleZijlstra committed May 21, 2023
  3. Bring over TypeVarTests from CPython (#165)

    I started out trying to backport python/cpython#104571, but
    realized that it makes sense to backport CPython's whole TypeVarTests
    class since we now have our own implementation of TypeVar.
    
    I dropped test_var_substitution and test_bad_var_substitution
    since they rely on the internal __typing_subst__ method, and the
    type substitution logic is generally very hard to get precisely
    the same across versions.
    JelleZijlstra committed May 21, 2023

Commits on May 20, 2023

  1. Fix tests on Python 3.12 (#162)

    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    JelleZijlstra and AlexWaygood committed May 20, 2023
  2. Add TypeAliasType (#160)

    Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    3 people committed May 20, 2023

Commits on May 8, 2023

Commits on Apr 26, 2023

  1. State in README that we backport the 3.12 version of Protocol, `run…

    …time_checkable` and various runtime-checkable protocols (#143)
    AlexWaygood committed Apr 26, 2023
  2. Add a backport of types.get_original_bases (#154)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    AlexWaygood and JelleZijlstra committed Apr 26, 2023

Commits on Apr 24, 2023

  1. Add __orig_bases__ to all TypedDict and NamedTuple (#150)

    Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
    adriangb and AlexWaygood committed Apr 24, 2023
Older