[issue11333] Add empty __slots__ to collections.abc abstract base classes

Nick Coghlan report at bugs.python.org
Sun Feb 27 14:57:06 CET 2011


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I like the idea, and it seems to work as expected (i.e. an empty __slots__ doesn't conflict with inheritance from a C defined type or a type with non-empty __slots__).

However, __slots__ is one of the sections of the type machinery I'm least familiar with, so hopefully Guido will weigh in.

----------
nosy: +ncoghlan

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11333>
_______________________________________


More information about the Python-bugs-list mailing list