[issue33519] Should MutableSequence provide .copy()?
Jelle Zijlstra
report at bugs.python.org
Tue May 15 11:09:27 EDT 2018
New submission from Jelle Zijlstra <jelle.zijlstra at 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 <report at bugs.python.org>
<https://bugs.python.org/issue33519>
_______________________________________
More information about the Python-bugs-list
mailing list