#18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch
changing IOError to OSError (#16715).
T
Terry Jan Reedy committed
ba6c0d3b08768b1a6b9bebba5eeead840fdc9356
Parent: 50793b4
changing IOError to OSError (#16715).