Skip to content
Permalink
master

Commits on Feb 11, 2022

  1. Update stubs.rst (#1069)

    It's no longer necessary to use `# type: ignore`s for many uses of `ParamSpec` (hooray!)
    AlexWaygood committed Feb 11, 2022
  2. PEP 655 Add interaction with __required_keys__, __optional_keys__ and…

    … get_type_hints() (#1057)
    
    * PEP 655 Add interaction w/ required/optional keys
    
    Change TypedDict to respect keys that are marked as Required
    or NotRequired (requires PEP 560).
    Make TypedDict and is_typeddict accessible if typing
    doesn't implement Required.
    
    * PEP 655 Add interaction with get_type_hints()
    
    Replace _strip_annotations() with _strip_extras() to strip Annotated, Required
    and NotRequired.
    Change get_type_hints() to pass include_extras=True to newer versions of
    typing.get_type_hints() and use _strip_extras().
    Make get_type_hints accessible if typing
    doesn't implement Required.
    d-k-bo committed Feb 11, 2022
  3. add LiteralString (PEP 675) (#1053)

    Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
    JelleZijlstra and sobolevn committed Feb 11, 2022
  4. Add Never and assert_never (#1060)

    Backport of python/cpython#30842, with additional tests from @sobolevn's python/cpython#31222.
    JelleZijlstra committed Feb 11, 2022

Commits on Feb 9, 2022

Commits on Feb 3, 2022

Commits on Feb 2, 2022

  1. add dataclass_transform (#1054)

    Co-authored-by: Erik De Bonte <erikd@microsoft.com>
    JelleZijlstra and debonte committed Feb 2, 2022

Commits on Jan 25, 2022

Commits on Jan 17, 2022

Commits on Jan 16, 2022

  1. Backport tests from test_typing.py (#1028)

    As promised in https://bugs.python.org/issue46386
    
    Backported:
    - python/cpython#30619
    
    Not backported:
    - python/cpython#30613 (because `ParamSpec` is already tested with `pickle` using all protocols)
    sobolevn committed Jan 16, 2022

Commits on Jan 14, 2022

  1. Don't increase the major version when dropping support for a Python v…

    …ersion (#1024)
    
    As pointed out in #1023, there is no risk of incompatibility, since the
    requires-python field will prevent installation on older Python versions.
    srittau committed Jan 14, 2022

Commits on Jan 9, 2022

  1. Update workflow file (#1017)

    * Test on Python 3.11 pre-releases
    
    * Update linter config
    AA-Turner committed Jan 9, 2022

Commits on Jan 8, 2022

  1. Fix PEP number for TypeAlias (#1008)

    Per the Python docs and PEPs, `TypeAlias` appears to have been defined in PEP 613, not PEP 610.
    obi1kenobi committed Jan 8, 2022

Commits on Jan 1, 2022

  1. Create .editorconfig (#998)

    sobolevn committed Jan 1, 2022

Commits on Dec 22, 2021

  1. Script to mail regular issue summaries to typing-sig (#929)

    Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
    srittau and hauntsaninja committed Dec 22, 2021
  2. Improve TOC structure (#988)

    * Add section headers to the toc tree
    * Add a "Guides" section and put the libraries document there
    * Move the link to the typing documentation into the "Reference" section
    
    Cf. #845
    srittau committed Dec 22, 2021
  3. Modify docs to comment out unpopulated toctrees (#987)

    Prior to this, the toctree directives pointed at numerous planned but
    unpopulated docs. The result is a mostly empty site with the real
    content buried.
    
    To revert without discarding work, the toctrees which list empty files
    are commented out, and new tables of contents are added to link to
    `libraries` and `stubs` (the existing, populated sections).
    
    Stub docs are left in place, producing sphinx warnings about unlinked
    docs. These are expected.
    
    The link to the typing module docs has been restored, now in a
    dedicated section.
    sirosen committed Dec 22, 2021

Commits on Dec 17, 2021

  1. Add NoReturn to __all__ (#983)

    JelleZijlstra committed Dec 17, 2021

Commits on Dec 1, 2021

Commits on Nov 29, 2021

  1. Vendor typing._SpecialForm to fool typing._type_check (#966)

    Adds a local copy of _SpecialForm in our namespace, so
    typing._type_check won't raise TypeError. (#964)
    
    Co-authored-by: James Hilton-Balfe <50501825+Gobot1234@users.noreply.github.com>
    CharString and Gobot1234 committed Nov 29, 2021

Commits on Nov 28, 2021

Commits on Nov 27, 2021

  1. Link to English version of Pycharm's landing site (#967)

    The previous link sent the user to the German version of the site
    Numerlor committed Nov 27, 2021
Older