-
-
Notifications
You must be signed in to change notification settings - Fork 113
Comparing changes
Open a pull request
base repository: python/typing_extensions
base: 4.8.0
head repository: python/typing_extensions
compare: 4.9.0
- 16 commits
- 10 files changed
- 6 contributors
Commits on Sep 28, 2023
-
Make
NewType.__call__
params positional-only (#288)This is really minor, but it means that the signature of `typing_extensions.NewType.__call__` exactly matches that of `typing.NewType.__call__` on all Python versions we support: ```pycon Python 3.8.16 (default, Mar 2 2023, 03:18:16) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from typing import NewType >>> x = NewType("x", int) >>> x(obj=42) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: new_type() got an unexpected keyword argument 'obj' ``` ```pycon Python 3.10.8 | packaged by conda-forge | (main, Nov 24 2022, 14:07:00) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> x = NewType("x", int) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'NewType' is not defined >>> from typing import NewType >>> x = NewType("x", int) >>> x(obj=42) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: NewType.__call__() got an unexpected keyword argument 'obj' ```
Configuration menu - View commit details
-
Copy full SHA for 5d20e9e - Browse repository at this point
Copy the full SHA 5d20e9eView commit details
Commits on Oct 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b6318ab - Browse repository at this point
Copy the full SHA b6318abView commit details
Commits on Oct 18, 2023
-
Fix tests on Python 3.13 (#291)
This is a followup for d95cc22 The removed block raises TypeError on Python 3.13+. The TypeError is already asserted in test_keywords_syntax_raises_on_3_13. For older Pythons, the DeprecationWarning and __name__ + __annotations__ value are already asserted in test_typeddict_special_keyword_names.
Configuration menu - View commit details
-
Copy full SHA for 04f9895 - Browse repository at this point
Copy the full SHA 04f9895View commit details
Commits on Oct 19, 2023
-
Run tests on Python 3.13 (#292)
* Run pydantic's tests on py312; bump PyPy to PyPy3.10 for typeguard's tests Pydantic started testing with py312 in pydantic/pydantic@ea7bf54 Typeguard bumped the version of PyPy they test with in CI in agronholm/typeguard@9aa873a Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fda0c15 - Browse repository at this point
Copy the full SHA fda0c15View commit details
Commits on Oct 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9de9fd6 - Browse repository at this point
Copy the full SHA 9de9fd6View commit details
Commits on Oct 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fc9acbd - Browse repository at this point
Copy the full SHA fc9acbdView commit details
Commits on Nov 4, 2023
-
Fix deprecating a mixin; warn when inheriting from a deprecated class (…
…#294) Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9f257c - Browse repository at this point
Copy the full SHA f9f257cView commit details
Commits on Nov 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7af82f9 - Browse repository at this point
Copy the full SHA 7af82f9View commit details
Commits on Nov 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4f91502 - Browse repository at this point
Copy the full SHA 4f91502View commit details -
fix typo in
override()
docstring (#305)backport of python/cpython@12c7e9d
Configuration menu - View commit details
-
Copy full SHA for e4d9d8b - Browse repository at this point
Copy the full SHA e4d9d8bView commit details -
Backport recent improvements to the error message when trying to call…
… `issubclass()` against a protocol with non-method members (#304)
Configuration menu - View commit details
-
Copy full SHA for 18ae2b3 - Browse repository at this point
Copy the full SHA 18ae2b3View commit details -
Update @deprecated implementation (#302)
Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db6f9b4 - Browse repository at this point
Copy the full SHA db6f9b4View commit details -
Add support for PEP 705 (#284)
Co-authored-by: Alice <[email protected]> Co-authored-by: Alex Waygood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b0166d - Browse repository at this point
Copy the full SHA 0b0166dView commit details -
Run typed-argument-parser tests on 3.12 in the daily workflow (#307)
They declared support for Python 3.12 in swansonk14/typed-argument-parser@0789b25
Configuration menu - View commit details
-
Copy full SHA for daa7931 - Browse repository at this point
Copy the full SHA daa7931View commit details -
Configuration menu - View commit details
-
Copy full SHA for f82d636 - Browse repository at this point
Copy the full SHA f82d636View commit details
Commits on Dec 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fc461d6 - Browse repository at this point
Copy the full SHA fc461d6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 4.8.0...4.9.0