• Victor Stinner's avatar
    Fix shutil.get_terminal_size() error handling · 119ebb70
    Victor Stinner authored
    Issue #26801: Fix error handling in shutil.get_terminal_size(), catch
    AttributeError instead of NameError. Patch written by Emanuel Barry.
    
    test_shutil: skip the functional test using "stty size" command if
    os.get_terminal_size() is missing.
    119ebb70
shutil.py 38.8 KB