New submission from Daniel Rose <dan...@whitehatcat.net>:

It would be convenient and cleaner/more in line with the Python zen to allow 
`.copy()` to allow a `deep=True` argument, to use `.deepcopy()` in a simpler 
way. This is easier to read, and brings some more usefulness to `.copy()`. 
`.deepcopy()` would be kept for backwards compatibility.

----------
components: Library (Lib)
messages: 382338
nosy: TheCatster
priority: normal
severity: normal
status: open
title: copy - Allow .copy(deep=True) alongside .deepcopy() for easier usage and 
zen
type: enhancement
versions: Python 3.9

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

Reply via email to