Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-26 | Fix formatting in typing_anti_pitch.rst (#1512)upstream-master | MegaIng | |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||
2023-11-26 | Fix docs warnings (#1514) | Jelle Zijlstra | |
2023-10-03 | Add .readthedocs.yaml (#1482) | Jelle Zijlstra | |
2023-09-26 | Add an anti-pitch for typing (#1477) | Shantanu | |
2023-06-30 | Remove typing_extensions directory (#1423) | Sebastian Rittau | |
2023-06-25 | Import the generics documentation from mypy (#1416) | Shantanu | |
2023-06-18 | Import the protocols documentation from mypy (#1415) | Shantanu | |
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||
2023-06-18 | Add link to PEP 705, update 695 status (#1414) | Shantanu | |
2023-06-18 | Docs: fix `TypeError` in code example (#1413) | Özgür | |
Fix TypeError of 'class MyProto(Protocol)' TypeError: Too few arguments for typing.Mapping; actual 1, expected 2 | |||
2023-03-29 | Link to mypy docs (#1380) | Shantanu | |
2023-03-28 | Update PEP 688 status, drop mentions of Python 2 (#1379) | Shantanu | |
2023-02-19 | Update docs for tools that inline pyi (#1352) | Shantanu | |
retype is no longer maintained. Since it's based on lib2to3, its corpse is not going to be useful for too long. merge_pyi now just wraps libCST, so mention that. If someone seeing this is looking for things to do, I think libCST's support here could be improved. E.g., I filed https://github.com/Instagram/LibCST/pull/868 But maybe that should convert to typing.Union. I'm sure there are other things that could be improved! | |||
2023-02-03 | Update list of PEPs (#1341) | Shantanu | |
2023-01-29 | Add information about Python discord (#1338) | Sergei Vorobev | |
2022-10-10 | Update LICENSE file (#1233) | Sebastian Rittau | |
* Update the copyright years. * Update some wording in the history introduction. * Change capitalization of the word "internet". | |||
2022-08-22 | Add type-hint and stub integration section (#1244) | Kevin Kirsche | |
Partially addresses #1242 | |||
2022-07-07 | Document use of assert_type (#1220) | Ilya Konstantinov | |
2022-06-02 | Best Practices: Add note about object/Any (#1198) | Sebastian Rittau | |
Part of #851 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||
2022-05-24 | Delete "Workflow" section in the README (#1196) | Alex Waygood | |
Fixes #1195 | |||
2022-05-21 | Split Best Practics document from Stubs document (#1193) | Sebastian Rittau | |
Move all "style guide" items over that apply to both stubs as well as implementation. The items are reordered and the "Types" section was split, but the text itself is unchanged. Part of #851 | |||
2022-05-21 | Delete `CONTRIBUTING.md` (#1192) | Alex Waygood | |
2022-05-19 | Remove the typing-extensions issue template (#1190) | Sebastian Rittau | |
2022-05-19 | Remove typing-extensions (#1189) | Jelle Zijlstra | |
2022-05-01 | Fix broken headers (#1171) | Shantanu | |
2022-04-29 | Advice for writing and maintaining stub files (#1167) | Shantanu | |
2022-04-28 | Minor changes to stub reference (#1166) | Shantanu | |
2022-04-28 | Make library docs more FAQ-like (#1164) | Shantanu | |
2022-04-19 | Change home URL to tree instead of README (#1157) | Sebastian Rittau | |
The README is displayed below the file tree anyway, but this makes it easier to explore the repository. | |||
2022-04-19 | Add a README.rst file back temporarily. (#1156) | Sebastian Rittau | |
2022-04-19 | Remove deprecated py36 classifier (#1153) | q0w | |
2022-04-18 | Convert README.rst to README.md (#1150) | Sebastian Rittau | |
Closes: #1149 | |||
2022-04-18 | Rename CHANGELOG to CHANGELOG.md (#1148) | Sebastian Rittau | |
2022-04-18 | pyproject.toml: Add PyPI Project URLs (#1147) | Tony Narlock | |
2022-04-17 | prepare release 4.2.0 (#1144) | Jelle Zijlstra | |
2022-04-16 | Fix tests on Python 3.11 (#1139) | Jelle Zijlstra | |
- Defer to the PEP 646 implementation in typing.py on 3.11 - Adjust some tests accordingly. Noted a bug in https://github.com/python/cpython/pull/32341#issuecomment-1100466389 - typing._type_check() is more lenient in 3.11 and no longer rejects ints - The representation of the empty tuple type changed Tests pass for me on a 3.11 build from today now. | |||
2022-04-16 | Add to the CHANGELOG (#1141) | Jelle Zijlstra | |
2022-04-16 | dataclass_transform: accept **kwargs, rename field_descriptors (#1120) | Jelle Zijlstra | |
2022-04-16 | Add get_overloads() (#1140) | Jelle Zijlstra | |
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||
2022-04-15 | test that all names are present in __all__ (#1138) | Jelle Zijlstra | |
2022-04-15 | Add `assert_type` to `__all__` (#1136) | Alex Waygood | |
Looks like this is in `typing.__all__` but was missed out of `typing_extensions.__all__` | |||
2022-04-11 | Fix "accepts only single type" errors (#1130) | Jelle Zijlstra | |
- Add "a" to make the message grammatical - Add a trailing period because _type_check adds another sentence after it. For example, `Unpack[3]` on 3.10 currently fails with `TypeError: Unpack accepts only single type Got 3.`. - Use an f-string | |||
2022-04-10 | Update the statuses of the typing PEPs (#1128) | Redowan Delowar | |
2022-04-05 | Don't list specific bugs with union short-hand syntax (#1119) | Sebastian Rittau | |
2022-04-05 | TypeAlias can now be used, add guidance (#1116) | Sebastian Rittau | |
2022-03-22 | Add assert_type (#1103) | Jelle Zijlstra | |
2022-03-22 | LiteralString, NotRequired, Required will be in 3.11 (#1110) | Jelle Zijlstra | |
2022-03-22 | test_typing_extensions: fix lint (#1111) | Shantanu | |
2022-03-17 | typing-extensions: Drop Python 3.6 (#1104) | Jelle Zijlstra | |
2022-03-02 | Improve distribution package (#1097) | Marc Mueller | |
2022-02-21 | Document 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 |