Closed
Description
As discussed in python/typing#464, issubclass()
with runtime protocols that declare non-method attributes is too ambiguous. Therefore it is proposed to prohibit such calls. Note that isinstance()
is still fine.
As discussed in python/typing#464, issubclass()
with runtime protocols that declare non-method attributes is too ambiguous. Therefore it is proposed to prohibit such calls. Note that isinstance()
is still fine.