[Python-ideas] A proper way to bring real interfaces to Python
Steven D'Aprano
steve at pearwood.info
Mon May 6 19:44:48 EDT 2019
On Sun, May 05, 2019 at 04:23:58AM +0300, Serge Matveenko wrote:
> So, I would like to propose adding a third main object called
> `interface` in addition to `object` and `type` and to use it to define
> interface objects.
Having read this thread, I think the proposal is complex enough that
you will need to write a PEP explaining the nature of interfaces, the
problem with the status quo, and your suggested solution.
I don't think a proof-of-concept class is sufficient.
https://www.python.org/dev/peps/
--
Steven
More information about the Python-ideas
mailing list