Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 272 Bytes

2021-05-12-16-43-21.bpo-38908.nM2_rO.rst

File metadata and controls

5 lines (5 loc) · 272 Bytes

Subclasses of typing.Protocol which only have data variables declared will now raise a TypeError when checked with isinstance unless they are decorated with :func:`runtime_checkable`. Previously, these checks passed silently. Patch provided by Yurii Karabas.