• Guido Trotter's avatar
    Make LockSet.__names() return a list, not a set · 0cf257c5
    Guido Trotter authored
    Previously the private version of the __names function returned directly a set.
    We'll keep this in the public interface but change the private version to a
    list in order to be able to sort() its result and then loop on it, even though
    we'll need to do this with the usual care that some keys may disappear in
    between.
    
    Reviewed-by: imsnah
    
    0cf257c5
locking.py 25.8 KB