On Sat, Mar 05, 2022 at 04:42:55PM -0000, Jason Madden wrote:

> zope.interface relies on this behaviour.

The example you give shows that Interface is a class. It merely has a 
metaclass which is not `type`. (I presume that is what's going on 
behind the scenes.)

I'm asking about the example that Serhiy shows, where a class inherits 
from something which is not a class at all. In his example, the base is 
1, although it gives a TypeError. I'm asking if that sort of thing is 
suppposed to work, and if so, how?


-- 
Steve
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/E2IWXPFY32R6JS22XXFORMNQTI4S6AOK/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to