Ronald Oussoren added the comment:
I agree with Terry. This requires a clear proposal that describes the behaviour
and differences with ABC-s.
I'm closing this issue for now.
--
nosy: +ronaldoussoren
resolution: -> later
stage: -> resolved
status: open -> closed
__
Terry J. Reedy added the comment:
(IDLE does not support typing.Protocol classes, because no one has proposed
that it do so, let alone submit a patch.)
A new keyword requires a PEP that specifies the syntax for an 'interface'
statement and what such a statement would do. You should start wi
Gobot1234 added the comment:
> Protocol class is not supported by IDEs for type hints, completions, bug
> findings, etc.
I think most good modern IDEs support using Protocols as type hints, offer
completions on them and help you to find bugs with static analysis. That was
one of the main re
New submission from Or :
Most object oriented languages provide interfaces as part of the core language,
this helps bring better design principles to a team's workflows.
Today Python provides the ABC module for abstract base classes and the Protocol
class from typing module as something that