Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

The ABCs are subset of the methods for the concrete APIs.  We've avoided the 
likes of copy() because it requires knowledge of the constructor's signature -- 
for example, MutableMapping does not cover copy().

It is okay for Eli to add MutableSequence.clear() because it can be implemented 
in terms of pop(), much like we do for MutableMapping.clear().

Eli, feel free to create a patch to add clear() and copy() to bytearray and to 
add clear() to MutableSequence.  Assign the patch to me for review.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10516>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to