summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
Commit message (Expand)AuthorAgeFilesLines
* gh-101162: Forbid using issubclass() with GenericAlias as the 1st arg (GH-103...Nikita Sobolev2023-08-111-0/+16
* gh-106309: Deprecate typing.no_type_check_decorator (#106312)Alex Waygood2023-07-131-4/+8
* gh-105974: Revert unintentional behaviour change for protocols with non-calla...Alex Waygood2023-06-231-0/+40
* gh-105834: Add tests for calling `issubclass()` between two protocols (#105835)Alex Waygood2023-06-161-0/+74
* gh-105570: Deprecate unusual ways of creating empty TypedDicts (#105780)Alex Waygood2023-06-141-0/+34
* gh-105566: Deprecate unusual ways of creating `typing.NamedTuple` classes (#1...Alex Waygood2023-06-141-9/+74
* gh-104873: Add typing.get_protocol_members and typing.is_protocol (#104878)Jelle Zijlstra2023-06-141-2/+67
* gh-105431: Remove unused stuff from `test_typing.NewTypeTests` (#105432)Nikita Sobolev2023-06-081-7/+0
* gh-103171: Forward-port new tests for runtime-checkable protocols dec orated ...Alex Waygood2023-06-071-0/+65
* gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates ...Alex Waygood2023-06-051-0/+14
* gh-105237: Allow calling `issubclass(X, typing.Protocol)` again (#105239)Alex Waygood2023-06-051-0/+59
* gh-105144: Runtime-checkable protocols: move all 'sanity checks' to `_Protoco...Alex Waygood2023-05-311-18/+91
* Remove raw asserts in test_typing.py (#104951)Jelle Zijlstra2023-05-261-22/+30
* gh-104786: Remove kwargs-based TypedDict creation (#104891)Tomas R2023-05-251-30/+3
* gh-104935: typing: Fix interactions between `@runtime_checkable` and `Generic...Jelle Zijlstra2023-05-251-0/+42
* gh-104879: Fix TypeAliasType.__module__ in exec() (#104881)Jelle Zijlstra2023-05-241-0/+34
* Improve test coverage for is_typeddict (#104884)Jelle Zijlstra2023-05-241-3/+22
* gh-104797: Allow Protocols to inherit from collections.abc.Buffer (#104827)Jelle Zijlstra2023-05-241-0/+16
* gh-92871: Remove typing.{io,re} namespaces (#92873)Sebastian Rittau2023-05-231-23/+1
* gh-74690: Make a typing test more resilient (#104691)Alex Waygood2023-05-211-4/+3
* gh-104600: Make type.__type_params__ writable (#104634)Jelle Zijlstra2023-05-191-0/+27
* gh-74690: Don't set special protocol attributes on non-protocol subclasses of...Alex Waygood2023-05-181-0/+15
* gh-104555: Runtime-checkable protocols: Don't let previous calls to `isinstan...Alex Waygood2023-05-171-0/+76
* typing: Add more tests for TypeVar (#104571)Jelle Zijlstra2023-05-171-0/+42
* gh-104555: Fix isinstance() and issubclass() for runtime-checkable protocols ...Alex Waygood2023-05-161-0/+18
* gh-103763: Implement PEP 695 (#103764)Jelle Zijlstra2023-05-161-35/+19
* gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` (#104424)Alex Waygood2023-05-131-22/+6
* gh-91896: Improve visibility of `ByteString` deprecation warnings (#104294)Alex Waygood2023-05-121-4/+26
* GH-103629: Update Unpack's repr in compliance with PEP 692 (#104048)Franek Magiera2023-05-011-27/+32
* gh-104036: Fix direct invocation of test_typing (#104037)Kirill Podoprigora2023-05-011-1/+1
* gh-103746: Test `types.UnionType` and `Literal` types together (#103747)Nikita Sobolev2023-04-241-0/+5
* gh-103592: Add tests of `Literal` with `Enum` and `Union` of `Literal`s (#103...Nikita Sobolev2023-04-231-0/+45
* GH-103699: Add `__orig_bases__` to various typing classes (#103698)Adrian Garcia Badaracco2023-04-231-0/+59
* gh-103395: Improve `typing._GenericAlias.__dir__` coverage (#103396)Nikita Sobolev2023-04-101-2/+61
* gh-74690: Add more tests for runtime-checkable protocols (#103347)Alex Waygood2023-04-071-2/+39
* gh-102433: Use `inspect.getattr_static` in `typing._ProtocolMeta.__instancech...Alex Waygood2023-04-021-2/+91
* gh-103054: typing: Improve `Callable` type substitution tests (#103055)Nikita Sobolev2023-03-291-0/+42
* gh-88965: typing: fix type substitution of a list of types after initial `Pa...Nikita Sobolev2023-03-231-0/+121
* gh-102721: Improve coverage of `_collections_abc._CallableGenericAlias` (#102...Nikita Sobolev2023-03-161-7/+32
* gh-102615: Use `list` instead of `tuple` in `repr` of paramspec (#102637)Nikita Sobolev2023-03-151-0/+45
* gh-102433: Add tests for how classes with properties interact with `isinstanc...Alex Waygood2023-03-111-0/+88
* gh-102444: Fix minor bugs in `test_typing` highlighted by pyflakes (#102445)Alex Waygood2023-03-051-19/+2
* Fix unused classes in a typing test (GH-102437)JosephSBoyle2023-03-051-2/+2
* gh-102324: Improve tests of `typing.override` (#102325)Nikita Sobolev2023-03-031-4/+95
* gh-101561: Add typing.override decorator (#101564)Steven Troxler2023-02-271-0/+38
* gh-101562: typing: add tests for inheritance with NotRequired & Required in p...Eclips42023-02-061-0/+33
* gh-101015: Fix `typing.get_type_hints` with unpacked `*tuple` (PEP 646) (#101...Nikita Sobolev2023-01-231-0/+30
* gh-99957: Add `frozen_default` parameter on `dataclass_transform` (#99958)Erik De Bonte2022-12-061-1/+4
* gh-99344, gh-99379, gh-99382: Fix issues in substitution of ParamSpec and Typ...Serhiy Storchaka2022-11-291-0/+81
* `test_typing`: use all pickle protocols (#99154)Nikita Sobolev2022-11-061-1/+1