Re:WTFPython – Understanding Python through surprising snippets
by Alex3917 on Monday December 23, 2019 @10:43AM
(#21864287)
> I agree totally with that, it's an ugly trap in python, although mitigated by the fact the language doesn't encourage this kind of paradigm so you rarely encounter it.
This. I've made this mistake exactly once in the last 7 years, but that one time almost caused a security issue.
This. I've made this mistake exactly once in the last 7 years, but that one time almost caused a security issue.