New submission from Jelle Zijlstra <jelle.zijls...@gmail.com>:

https://docs.python.org/3.7/library/stdtypes.html#mutable-sequence-types lists 
.copy() among the methods provided by mutable sequences. However, 
MutableSequence does not actually define .copy(): 
https://github.com/python/cpython/blob/master/Lib/_collections_abc.py#L945.

Should we add .copy() to the ABC or remove the promise that all mutable 
sequences implement .copy()?

----------
components: Library (Lib)
messages: 316664
nosy: Jelle Zijlstra, rhettinger, stutzbach
priority: normal
severity: normal
status: open
title: Should MutableSequence provide .copy()?
versions: Python 3.8

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

Reply via email to