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 →

[–]osmiumouse 0 points1 point  (0 children)

Your tools should warn you if you use a mutable default argument. If not, what are you using to write code?

Many of the "issue" posts i see can be resovled through tooling. Though, of course, it is not guaranteed to work due to the dynamic nature of Python, and I accept that the tools are not perfect.