Fix for failing py 3.x behavior due to getitem/getattr interaction
Fix for failing py 3.x behavior due to getitem/getattr interaction

aleksandr-bakanov/astropy,DougBurke/astropy,bsipocz/astropy,kelle/astropy,larrybradley/astropy,kelle/astropy,lpsinger/astropy,joergdietrich/astropy,MSeifert04/astropy,stargaser/astropy,larrybradley/astropy,lpsinger/astropy,StuartLittlefair/astropy,dhomeier/astropy,mhvk/astropy,larrybradley/astropy,DougBurke/astropy,larrybradley/astropy,AustereCuriosity/astropy,pllim/astropy,mhvk/astropy,mhvk/astropy,pllim/astropy,DougBurke/astropy,joergdietrich/astropy,MSeifert04/astropy,joergdietrich/astropy,tbabej/astropy,StuartLittlefair/astropy,joergdietrich/astropy,aleksandr-bakanov/astropy,joergdietrich/astropy,astropy/astropy,lpsinger/astropy,astropy/astropy,astropy/astropy,saimn/astropy,larrybradley/astropy,funbaker/astropy,AustereCuriosity/astropy,saimn/astropy,funbaker/astropy,saimn/astropy,pllim/astropy,kelle/astropy,saimn/astropy,StuartLittlefair/astropy,bsipocz/astropy,bsipocz/astropy,stargaser/astropy,dhomeier/astropy,dhomeier/astropy,astropy/astropy,mhvk/astropy,tbabej/astropy,DougBurke/astropy,bsipocz/astropy,funbaker/astropy,astropy/astropy,kelle/astropy,aleksandr-bakanov/astropy,AustereCuriosity/astropy,MSeifert04/astropy,pllim/astropy,tbabej/astropy,lpsinger/astropy,mhvk/astropy,lpsinger/astropy,StuartLittlefair/astropy,saimn/astropy,stargaser/astropy,stargaser/astropy,funbaker/astropy,tbabej/astropy,StuartLittlefair/astropy,AustereCuriosity/astropy,aleksandr-bakanov/astropy,AustereCuriosity/astropy,MSeifert04/astropy,kelle/astropy,tbabej/astropy,pllim/astropy,dhomeier/astropy,dhomeier/astropy