Antoine Pitrou added the comment: > > To be clear: the problem is with CPython calling the concrete APIs when > > it shouldn't, rather than with the concrete APIs not behaving properly. > > The boilerplate required to use them correctly renders them broken in my > view, particularly when they silently corrupt internal subclass state when > misused instead of throwing an exception.
IMO the boilerplate should actually be included inside the abstract APIs, so as to automatically enable optimized shortcuts when possible. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10977> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com