]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46170: Improve the error message when subclassing NewType (GH-30268)
authorJames Hilton-Balfe <gobot1234yt@gmail.com>
Tue, 8 Mar 2022 03:50:46 +0000 (03:50 +0000)
committerGitHub <noreply@github.com>
Tue, 8 Mar 2022 03:50:46 +0000 (19:50 -0800)
commitf391f9bf28f0bba7939d9f9e5a7a6396d2b0df62
tree4151190384181dca5446c61e6dd7c3230739a6e0
parent50731297a9b6d57eec3b3f89522785b23f7b3e71
bpo-46170: Improve the error message when subclassing NewType (GH-30268)

Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2021-12-26-14-45-51.bpo-46170.AQ7kSM.rst [new file with mode: 0644]