Detach underlying stream before TextIOWrapper closes its stream
Detach underlying stream before TextIOWrapper closes its stream

mhvk/astropy,astropy/astropy,saimn/astropy,lpsinger/astropy,pllim/astropy,larrybradley/astropy,saimn/astropy,mhvk/astropy,lpsinger/astropy,larrybradley/astropy,mhvk/astropy,pllim/astropy,pllim/astropy,StuartLittlefair/astropy,astropy/astropy,larrybradley/astropy,astropy/astropy,aleksandr-bakanov/astropy,lpsinger/astropy,saimn/astropy,mhvk/astropy,StuartLittlefair/astropy,saimn/astropy,aleksandr-bakanov/astropy,saimn/astropy,astropy/astropy,pllim/astropy,mhvk/astropy,larrybradley/astropy,pllim/astropy,lpsinger/astropy,astropy/astropy,larrybradley/astropy,lpsinger/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,StuartLittlefair/astropy