RedisCluster class assumes that initialization errors are not recoverable. It throws the exception in the constructor before calling its parent class constructor, causing its parent class __del__ encounter an undefined attribute on clean up.
This change allows for the parent class to cleanly shutdown so the calling code can try again.
433
Comment explains why this seems necessary.
RedisCluster
class assumes that initialization errors are not recoverable. It throws the exception in the constructor before calling its parent class constructor, causing its parent class__del__
encounter an undefined attribute on clean up.This change allows for the parent class to cleanly shutdown so the calling code can try again.