aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-12Snap for 8820681 from 49ade6f6adac17c4b917e4bf5cea109028fe4f50 to ↵aml_go_wif_330911000android13-mainline-go-wifi-releaseAndroid Build Coastguard Worker
mainline-go-wifi-release Change-Id: Ie90ba4ae1c617952ba8a1f38a11ad186aef99949
2022-06-10Snap for 8708169 from 670c4eddc0c04bb2a501f34fe2f7889b5a15aa5b to ↵Android Build Coastguard Worker
mainline-go-wifi-release Change-Id: If4afc58c20ae3c55a14325bcdf790537302f438b
2022-06-09Merge remote-tracking branch 'goog/mirror-aosp-master' into bp_typing am: ↵Frank Feng
670c4eddc0 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/typing/+/18820311 Change-Id: Ic2c6494e26b4da7ad7e10c32be692c37be8ef791 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-09Merge remote-tracking branch 'goog/mirror-aosp-master' into bp_typingandroid13-devFrank Feng
Bug: 235099911 Test: TH Change-Id: Ic4b5b1512c5bed482c8d0a5281b4c8c85421f548
2022-06-02Add an init file to make it a module and handle versioningJulien Desprez
Test: presubmit Bug: 234458076 Change-Id: Iff56a42c8c919d18de6053e236d2e2b5a131a071
2022-05-31Add build files for typing_extensionsJulien Desprez
Test: presubmit Bug: 234458076 Change-Id: I310b83b9d87fe151a1fd37c1f175518b8c6484d5
2022-04-13Merge remote-tracking branch 'aosp/upstream-master' into typing am: ↵frankfeng
a90fb3c4d9 am: f8e1873b59 am: 2ef2783001 am: f6ac0eb79f Original change: https://android-review.googlesource.com/c/platform/external/python/typing/+/2063011 Change-Id: I1450cc3754b81bd0a351e30bbb8efcb52a12c7e9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13Merge remote-tracking branch 'aosp/upstream-master' into typing am: ↵frankfeng
a90fb3c4d9 am: f8e1873b59 am: 2ef2783001 Original change: https://android-review.googlesource.com/c/platform/external/python/typing/+/2063011 Change-Id: I9a4a000a319813d1853e835ac1bad3415a0942b7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13Merge remote-tracking branch 'aosp/upstream-master' into typing am: ↵frankfeng
a90fb3c4d9 am: f8e1873b59 Original change: https://android-review.googlesource.com/c/platform/external/python/typing/+/2063011 Change-Id: I9adcfc2ebd7138700477a653c9f068d3466c1d87 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13Merge remote-tracking branch 'aosp/upstream-master' into typing am: a90fb3c4d9frankfeng
Original change: https://android-review.googlesource.com/c/platform/external/python/typing/+/2063011 Change-Id: Ic80c3be8384c1a71d3aa5e6e69e260c73dc0e442 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13Merge remote-tracking branch 'aosp/upstream-master' into typingplatform-tools-33.0.2main-cg-testing-releasefrankfeng
Bug: 228235300 Bug: 228457005 Test: TH Change-Id: I5f6481c917c33c13446827a4237dd29d66769116
2022-04-10Update the statuses of the typing PEPs (#1128)Redowan Delowar
2022-04-06Initial empty repositoryRoman Yepishev
2022-04-05Don't list specific bugs with union short-hand syntax (#1119)Sebastian Rittau
2022-04-05TypeAlias can now be used, add guidance (#1116)Sebastian Rittau
2022-03-22Add assert_type (#1103)Jelle Zijlstra
2022-03-22LiteralString, NotRequired, Required will be in 3.11 (#1110)Jelle Zijlstra
2022-03-22test_typing_extensions: fix lint (#1111)Shantanu
2022-03-17typing-extensions: Drop Python 3.6 (#1104)Jelle Zijlstra
2022-03-02Improve distribution package (#1097)Marc Mueller
2022-02-21Document how to test type annotations (#1071)Stephen Rosen
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]: https://github.com/python/mypy/issues/11506
2022-02-14Improve release instructions (#1078)Jelle Zijlstra
This is what I've actually been doing, but better to document it.
2022-02-13Prepare release 4.1.1 (#1077)Jelle Zijlstra
2022-02-13Fix Python 3.7.1 and run more versions in CI (#1076)Jelle Zijlstra
2022-02-12prepare release 4.1.0 (#1072)Jelle Zijlstra
2022-02-11Built-in generic now work without limitations (#1068)Sebastian Rittau
Closes: #1067
2022-02-11PEP 646 implementation (#963)Jelle Zijlstra
2022-02-11Add guide to unreachable code (#1065)Jelle Zijlstra
2022-02-11Update stubs.rst (#1069)Alex Waygood
It's no longer necessary to use `# type: ignore`s for many uses of `ParamSpec` (hooray!)
2022-02-11PEP 655 Add interaction with __required_keys__, __optional_keys__ and ↵David C
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.
2022-02-10add LiteralString (PEP 675) (#1053)Jelle Zijlstra
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-02-10Add Never and assert_never (#1060)Jelle Zijlstra
Backport of python/cpython#30842, with additional tests from @sobolevn's python/cpython#31222.
2022-02-09PEP 681 is still draft (#1064)Jelle Zijlstra
2022-02-09Update list of PEPs (#1063)Jelle Zijlstra
2022-02-08ParamSpec: backport bpo-46676 (#1059)Gregory Beauregard
2022-02-03Add typing_extensions.reveal_type (#1055)Jelle Zijlstra
2022-02-02add dataclass_transform (#1054)Jelle Zijlstra
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
2022-02-02Add a note about modules that should not be included into stubs (#1019)Nikita Sobolev
2022-01-25Annotated: backport bpo-46491 (#1049)Gregory Beauregard
2022-01-17PEP 655 Add `Required` and `NotRequired` to `__all__` (#1031)Yurii Karabas
2022-01-16Backport tests from `test_typing.py` (#1028)Nikita Sobolev
As promised in https://bugs.python.org/issue46386 Backported: - https://github.com/python/cpython/pull/30619 Not backported: - https://github.com/python/cpython/pull/30613 (because `ParamSpec` is already tested with `pickle` using all protocols)
2022-01-15@final: backport bpo-46342 (#1026)Jelle Zijlstra
2022-01-15Update tox config to add Python 3.10, support PEP517 build-backend (#1018)Chris Moradi
2022-01-15Add is_typeddict from Python 3.10 (#1016)Chris Moradi
2022-01-15Remove obsolete note (#1025)Jelle Zijlstra
typing exists in all supported Python versions
2022-01-14Don't increase the major version when dropping support for a Python version ↵Sebastian Rittau
(#1024) As pointed out in #1023, there is no risk of incompatibility, since the requires-python field will prevent installation on older Python versions.
2022-01-09Update workflow file (#1017)Adam Turner
* Test on Python 3.11 pre-releases * Update linter config
2022-01-07Fix PEP number for `TypeAlias` (#1008)Predrag Gruevski
Per the Python docs and PEPs, `TypeAlias` appears to have been defined in PEP 613, not PEP 610.
2022-01-04Fix link (#1007)Sebastian Rittau
2022-01-04Suggest to use `_` prefix for stubs-only types (#1005)Nikita Sobolev