Mutable defaults

J. Pic jpic at yourlabs.org
Wed Feb 10 18:05:54 EST 2021


> Most of us know of the perils of mutable default values.

And those who don't pay the price.

I wonder what would be the harm in removing them, or doing copy on call by
default.


More information about the Python-list mailing list