In python-memcached, False is returned when add () fails (the key already exists), and 0 is returned when the server does not respond in the first place (connection is disconnected, etc.), but (False) == 0) => True How do you separate the two in this true language?
In python-memcached, False is returned when add () fails (the key already exists), and 0 is returned when the server does not respond in the first place (connection is disconnected, etc.), but (False) == 0) => True How do you separate the two in this true language?