]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44806: Fix __init__ in subclasses of protocols (GH-27545)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 2 Aug 2021 16:23:22 +0000 (19:23 +0300)
committerGitHub <noreply@github.com>
Mon, 2 Aug 2021 16:23:22 +0000 (18:23 +0200)
commit043cd60abed09edddc7185bcf7d039771acc734d
treee37e68fdb15b6546d8d37e6bded2e775d57684f1
parent36d952d228582b0ffc7a86c520d4ddbe8943d803
bpo-44806: Fix __init__ in subclasses of protocols (GH-27545)

Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2021-08-02-14-37-32.bpo-44806.wOW_Qn.rst [new file with mode: 0644]