[issue42546] copy - Allow .copy(deep=True) alongside .deepcopy() for easier usage and zen

Steven D'Aprano report at bugs.python.org
Wed Dec 2 16:04:10 EST 2020


Steven D'Aprano <steve+python at pearwood.info> added the comment:

This would be a classic example of the "Flag argument" anti-pattern:

https://www.martinfowler.com/bliki/FlagArgument.html

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42546>
_______________________________________


More information about the Python-bugs-list mailing list