Re:Why Do Python Lists Multiply Oddly? Exploring the CPython...
by Joker_vD on Tuesday April 09, 2024 @02:03AM
(#39976548)
Yes, the reason is that it's a tradition to have it this way. Python IMHO has decent enough assignment semantics that using "default argument expressions" model would've been fine, unlike e.g. in C++.
[ Parent
| on HN ]
There are no comments on this comment yet.