• Éric Araujo's avatar
    Stop binding sys.path as default parameter value in packaging. · 6f677653
    Éric Araujo yazdı
    The two public functions in database default to sys.path if the given
    *paths* argument is None; the private functions don’t have default
    values for their arguments anymore, which is fine as the public
    functions that call them pass their arguments down.  Likewise in
    install, the functions will pass down their *paths* arguments down to
    database functions.
    
    A one-line unneeded function in install was removed instead of being
    changed, and the few remaining tests that used brute-force restoration
    of sys.path have been cleaned up to use sys.path.remove.
    6f677653
install.py 17.6 KB