#18151, part 1: Backport idlelilb portion of Andrew Svetlov's 3.4 patch
changing IOError to OSError (#16715).
#17691: test_univnewlines now works with unittest test discovery.  Patch by Zachary Ware.
#18126: update NumPy links in the documentation.  Patch by Yury V. Zaytsev.