astropy/astropy — pull request #3026 by amras1 (2014-10-12 21:07:13+00:00)
Title: Fix Mac/Python 3 issue with too many open files in io.ascii

It's been a while unfortunately, but I just got hold of a Mac to test out #3018 and realized that the cleanup code wasn't calling `PyBuffer_Release`, which fixed the issue for me. @astrofrog @taldcroft - Does this work for you?