1In :meth:`io.IOBase.close`, ensure that the :attr:`~io.IOBase.closed`
2attribute is not set with a live exception.  Patch by Zackery Spytz and Serhiy
3Storchaka.
4