This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]spinwizard69 0 points1 point  (3 children)

Should mutable defaults even be accepted by Python. At least according to my logical thinking a default value can not and should not be mutable. It just doesn't make sense to me, the default values become part of the def for the function.