[issue21421] ABCs for MappingViews should declare __slots__ so subclasses aren't forced to have __dict__/__weakref__
Raymond Hettinger
report at bugs.python.org
Sun May 4 04:09:57 CEST 2014
Raymond Hettinger added the comment:
I've applied the __slots__ patch. Thank you for submitting it.
Am leaving the rest of the ABCs code as-is. The current form may be a bit wordy but it is clean, fast, and easy to trace through a debugger. The expanded forms were chosen for a reason.
----------
resolution: -> fixed
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21421>
_______________________________________
More information about the Python-bugs-list
mailing list