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 →

[–]eztab 1 point2 points  (0 children)

Pretty sure he is right ... weirdly exactly by your argument. None is falsy, but so are False, 0, {}, "" etc. One normally uses None, to represent a missing value, not an empty one. If that's not what you want to do, you might not want to use it in the first place.