Benjamin Peterson <benja...@python.org> added the comment: I'm afraid that's not (easily) possible. Using __slots__ implicitly gives classes attributes, so what you are seeing is the effect of toying with that. It's not really possible to pretend there are different attributes on the class than the descriptors. We can:
- Silently override slot descrs with attributes (as currently done). - Warn or error out on conflicts. - Just override other class attributes with the descrs. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12766> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com