Skip to content

Commit

Permalink
PEP 692: Update Reference Implementation section (#2779)
Browse files Browse the repository at this point in the history
  • Loading branch information
franekmagiera authored Aug 31, 2022
1 parent 97e3dbd commit 5432a30
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions pep-0692.rst
Original file line number Diff line number Diff line change
Expand Up @@ -531,12 +531,11 @@ the `mypy documentation <https://mypy.readthedocs.io/>`_ and the
Reference Implementation
========================

There is a proof-of-concept implementation of typing ``**kwargs`` using
``TypedDict`` as a `pull request to mypy <mypyPull10576_>`__
and `to mypy_extensions <mypyExtensionsPull22_>`__.
The implementation uses ``Expand`` instead of ``Unpack``.
The `mypy type checker <https://github.com/python/mypy>`_ already
`supports <https://github.com/python/mypy/pull/13471>`_ more precise
``**kwargs`` typing using ``Unpack``.

The `Pyright type checker <https://github.com/microsoft/pyright>`_
`Pyright type checker <https://github.com/microsoft/pyright>`_ also
`provides provisional support <pyrightProvisionalImplementation_>`__
for `this feature <pyrightIssue3002_>`__.

Expand Down Expand Up @@ -582,8 +581,6 @@ References

.. _httpxIssue1384: https://github.com/encode/httpx/issues/1384
.. _mypyIssue4441: https://github.com/python/mypy/issues/4441
.. _mypyPull10576: https://github.com/python/mypy/pull/10576
.. _mypyExtensionsPull22: https://github.com/python/mypy_extensions/pull/22/files
.. _pyrightIssue3002: https://github.com/microsoft/pyright/issues/3002
.. _pyrightProvisionalImplementation: https://github.com/microsoft/pyright/commit/5bee749eb171979e3f526cd8e5bf66b00593378a
.. _cpythonGrammarChangePoc: https://github.com/python/cpython/compare/main...franekmagiera:annotate-kwargs
Expand Down

0 comments on commit 5432a30

Please sign in to comment.