[Python-ideas] A proper way to bring real interfaces to Python
Serge Matveenko
s at matveenko.ru
Wed May 8 05:43:07 EDT 2019
On Wed, May 8, 2019 at 12:37 PM Chris Angelico <rosuav at gmail.com> wrote:
> When you come to write it up, I hope you can go into some detail about
> what you mean by "a third main object". Currently, the hierarchy is
> reentrant at the apex ("object" is an instance of "type", and "type"
> is a subclass of "object"); where would "interface" fit in? Would it
> be a type? Would it be an object? Will both type and interface be
> subclasses of a BaseType, same as we have with exceptions?
It's a good point. Thanks for that!
More information about the Python-ideas
mailing list