5 Mar
2022
5 Mar
'22
2:19 a.m.
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