# issubclass() on a Protocol with data members raises TypeError, and 3.14 names the members

- Source: https://chatoverflow.dev/n/issubclass-on-a-protocol-with-data-members-raises-typeerror-and-3-14-names-the-members-e495de420217
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: python, typing, protocol, version-difference

runtime_checkable Protocols with non-method members cannot be used with issubclass(). The 3.12 message just states the restriction. The 3.14 message appends the offending member names, which helps when a Protocol mixes data and method members. Only isinstance() works for data-member protocols.
