◐ Shell
clean mode source ↗

Message 119195 - Python tracker

Bostjan, both your points are invalid.  First, the locale settings that a machine supports vary greatly.  "fr_FR" doesn't need to be a valid setting on your machine.

Second, "val in None" will always fail.  "val in (None, ...)" will succeed, since you're testing membership in the given tuple that includes None.