master
Commits on Feb 12, 2022
Commits on Feb 11, 2022
-
-
It's no longer necessary to use `# type: ignore`s for many uses of `ParamSpec` (hooray!)
-
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.
-
add LiteralString (PEP 675) (#1053)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
-
Add Never and assert_never (#1060)
Backport of python/cpython#30842, with additional tests from @sobolevn's python/cpython#31222.
Commits on Feb 10, 2022
Commits on Feb 9, 2022
Commits on Feb 3, 2022
Commits on Feb 2, 2022
-
add dataclass_transform (#1054)
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Commits on Jan 25, 2022
Commits on Jan 16, 2022
-
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)
Commits on Jan 15, 2022
-
-
-
typing exists in all supported Python versions
Commits on Jan 14, 2022
Commits on Jan 9, 2022
-
* Test on Python 3.11 pre-releases * Update linter config
Commits on Jan 8, 2022
-
Fix PEP number for
TypeAlias
(#1008)Per the Python docs and PEPs, `TypeAlias` appears to have been defined in PEP 613, not PEP 610.
Commits on Jan 4, 2022
Commits on Jan 1, 2022
Commits on Dec 22, 2021
-
Script to mail regular issue summaries to typing-sig (#929)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
-
* 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
-
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.
Commits on Dec 21, 2021
Commits on Dec 17, 2021
Commits on Dec 1, 2021
Commits on Nov 29, 2021
-
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>
Commits on Nov 28, 2021
Commits on Nov 27, 2021
-
Link to English version of Pycharm's landing site (#967)
The previous link sent the user to the German version of the site