Changed array_fromobject() to treat failure of the Array_FromSequence() call  differently.  Now it clears the error flag and tries interpreting the object as a scalar.  This allows more graceful error handling of badly behaved objects like DOK matrices that pass PySequence_Check but can't be indexed like  sequences.
Changed array_fromobject() to treat failure of the Array_FromSequence() call 
differently.  Now it clears the error flag and tries interpreting the object
as a scalar.  This allows more graceful error handling of badly behaved objects
like DOK matrices that pass PySequence_Check but can't be indexed like 
sequences.

Fixed small typos.


Srisai85/numpy,mhvk/numpy,rudimeier/numpy,jankoslavic/numpy,astrofrog/numpy,MSeifert04/numpy,solarjoe/numpy,musically-ut/numpy,chatcannon/numpy,gfyoung/numpy,seberg/numpy,BabeNovelty/numpy,endolith/numpy,Srisai85/numpy,BabeNovelty/numpy,pbrod/numpy,SiccarPoint/numpy,larsmans/numpy,behzadnouri/numpy,madphysicist/numpy,numpy/numpy,abalkin/numpy,pbrod/numpy,nbeaver/numpy,Anwesh43/numpy,njase/numpy,tdsmith/numpy,rajathkumarmp/numpy,ajdawson/numpy,BabeNovelty/numpy,moreati/numpy,mortada/numpy,dato-code/numpy,rgommers/numpy,moreati/numpy,rajathkumarmp/numpy,MichaelAquilina/numpy,simongibbons/numpy,cjermain/numpy,Dapid/numpy,dwf/numpy,larsmans/numpy,endolith/numpy,mhvk/numpy,ChristopherHogan/numpy,MaPePeR/numpy,mindw/numpy,trankmichael/numpy,grlee77/numpy,leifdenby/numpy,Eric89GXL/numpy,abalkin/numpy,ogrisel/numpy,dwillmer/numpy,Srisai85/numpy,bmorris3/numpy,rudimeier/numpy,dwf/numpy,drasmuss/numpy,BMJHayward/numpy,charris/numpy,jorisvandenbossche/numpy,jorisvandenbossche/numpy,cowlicks/numpy,yiakwy/numpy,mingwpy/numpy,dwf/numpy,ogrisel/numpy,felipebetancur/numpy,ChristopherHogan/numpy,immerrr/numpy,tacaswell/numpy,kirillzhuravlev/numpy,dimasad/numpy,andsor/numpy,MaPePeR/numpy,jankoslavic/numpy,ogrisel/numpy,WillieMaddox/numpy,pyparallel/numpy,NextThought/pypy-numpy,grlee77/numpy,skymanaditya1/numpy,ViralLeadership/numpy,ContinuumIO/numpy,nguyentu1602/numpy,githubmlai/numpy,pelson/numpy,rudimeier/numpy,felipebetancur/numpy,cowlicks/numpy,GaZ3ll3/numpy,rgommers/numpy,pizzathief/numpy,stuarteberg/numpy,bertrand-l/numpy,stefanv/numpy,WillieMaddox/numpy,pizzathief/numpy,madphysicist/numpy,pyparallel/numpy,musically-ut/numpy,Srisai85/numpy,stuarteberg/numpy,chatcannon/numpy,rmcgibbo/numpy,nbeaver/numpy,pdebuyl/numpy,brandon-rhodes/numpy,has2k1/numpy,skymanaditya1/numpy,njase/numpy,mwiebe/numpy,shoyer/numpy,pizzathief/numpy,rhythmsosad/numpy,KaelChen/numpy,ViralLeadership/numpy,simongibbons/numpy,kirillzhuravlev/numpy,ESSS/numpy,ewmoore/numpy,charris/numpy,stuarteberg/numpy,ahaldane/numpy,SiccarPoint/numpy,madphysicist/numpy,gmcastil/numpy,tdsmith/numpy,mindw/numpy,madphysicist/numpy,ESSS/numpy,githubmlai/numpy,dch312/numpy,joferkington/numpy,pbrod/numpy,ChanderG/numpy,githubmlai/numpy,gfyoung/numpy,shoyer/numpy,ogrisel/numpy,mwiebe/numpy,empeeu/numpy,bertrand-l/numpy,rhythmsosad/numpy,sigma-random/numpy,maniteja123/numpy,ajdawson/numpy,MSeifert04/numpy,has2k1/numpy,has2k1/numpy,embray/numpy,maniteja123/numpy,leifdenby/numpy,cowlicks/numpy,sinhrks/numpy,larsmans/numpy,grlee77/numpy,ewmoore/numpy,pdebuyl/numpy,tacaswell/numpy,dwillmer/numpy,mortada/numpy,mathdd/numpy,mattip/numpy,skwbc/numpy,MSeifert04/numpy,mhvk/numpy,utke1/numpy,andsor/numpy,immerrr/numpy,tacaswell/numpy,Linkid/numpy,pdebuyl/numpy,grlee77/numpy,ChanderG/numpy,ahaldane/numpy,seberg/numpy,SunghanKim/numpy,matthew-brett/numpy,dimasad/numpy,matthew-brett/numpy,joferkington/numpy,Linkid/numpy,dwillmer/numpy,musically-ut/numpy,GrimDerp/numpy,tynn/numpy,naritta/numpy,pelson/numpy,numpy/numpy-refactor,chatcannon/numpy,nguyentu1602/numpy,BMJHayward/numpy,astrofrog/numpy,b-carter/numpy,ahaldane/numpy,MSeifert04/numpy,bringingheavendown/numpy,embray/numpy,ahaldane/numpy,chiffa/numpy,Anwesh43/numpy,joferkington/numpy,MichaelAquilina/numpy,drasmuss/numpy,ekalosak/numpy,BMJHayward/numpy,kiwifb/numpy,MSeifert04/numpy,SunghanKim/numpy,jakirkham/numpy,BabeNovelty/numpy,endolith/numpy,embray/numpy,pizzathief/numpy,pyparallel/numpy,mortada/numpy,rmcgibbo/numpy,hainm/numpy,yiakwy/numpy,rgommers/numpy,Dapid/numpy,githubmlai/numpy,ekalosak/numpy,nguyentu1602/numpy,felipebetancur/numpy,gmcastil/numpy,groutr/numpy,stefanv/numpy,dwillmer/numpy,tdsmith/numpy,mathdd/numpy,pizzathief/numpy,Yusa95/numpy,ESSS/numpy,AustereCuriosity/numpy,utke1/numpy,kiwifb/numpy,behzadnouri/numpy,jakirkham/numpy,SiccarPoint/numpy,mingwpy/numpy,tynn/numpy,utke1/numpy,mathdd/numpy,sonnyhu/numpy,skymanaditya1/numpy,GaZ3ll3/numpy,rhythmsosad/numpy,bmorris3/numpy,NextThought/pypy-numpy,NextThought/pypy-numpy,Eric89GXL/numpy,CMartelLML/numpy,anntzer/numpy,jschueller/numpy,dch312/numpy,Dapid/numpy,MaPePeR/numpy,maniteja123/numpy,ssanderson/numpy,jonathanunderwood/numpy,ddasilva/numpy,chiffa/numpy,naritta/numpy,empeeu/numpy,simongibbons/numpy,numpy/numpy-refactor,brandon-rhodes/numpy,immerrr/numpy,mingwpy/numpy,solarjoe/numpy,hainm/numpy,matthew-brett/numpy,mingwpy/numpy,ChanderG/numpy,ajdawson/numpy,b-carter/numpy,moreati/numpy,numpy/numpy-refactor,pbrod/numpy,MichaelAquilina/numpy,pelson/numpy,bmorris3/numpy,gfyoung/numpy,anntzer/numpy,has2k1/numpy,GaZ3ll3/numpy,AustereCuriosity/numpy,astrofrog/numpy,kiwifb/numpy,numpy/numpy,madphysicist/numpy,empeeu/numpy,kirillzhuravlev/numpy,rajathkumarmp/numpy,pelson/numpy,ewmoore/numpy,felipebetancur/numpy,mwiebe/numpy,GaZ3ll3/numpy,ChanderG/numpy,musically-ut/numpy,dwf/numpy,trankmichael/numpy,GrimDerp/numpy,ddasilva/numpy,trankmichael/numpy,sigma-random/numpy,bertrand-l/numpy,ViralLeadership/numpy,sinhrks/numpy,embray/numpy,jakirkham/numpy,dato-code/numpy,ogrisel/numpy,MichaelAquilina/numpy,ContinuumIO/numpy,ahaldane/numpy,naritta/numpy,numpy/numpy-refactor,ddasilva/numpy,KaelChen/numpy,WillieMaddox/numpy,dimasad/numpy,yiakwy/numpy,stefanv/numpy,groutr/numpy,charris/numpy,drasmuss/numpy,jankoslavic/numpy,GrimDerp/numpy,pelson/numpy,stuarteberg/numpy,stefanv/numpy,pdebuyl/numpy,argriffing/numpy,yiakwy/numpy,Linkid/numpy,SiccarPoint/numpy,hainm/numpy,abalkin/numpy,jorisvandenbossche/numpy,sinhrks/numpy,ssanderson/numpy,numpy/numpy,argriffing/numpy,skwbc/numpy,matthew-brett/numpy,SunghanKim/numpy,jschueller/numpy,charris/numpy,embray/numpy,NextThought/pypy-numpy,simongibbons/numpy,CMartelLML/numpy,matthew-brett/numpy,jakirkham/numpy,WarrenWeckesser/numpy,jakirkham/numpy,WarrenWeckesser/numpy,CMartelLML/numpy,trankmichael/numpy,skymanaditya1/numpy,naritta/numpy,jorisvandenbossche/numpy,rajathkumarmp/numpy,rhythmsosad/numpy,mhvk/numpy,jankoslavic/numpy,sigma-random/numpy,tdsmith/numpy,dimasad/numpy,AustereCuriosity/numpy,cjermain/numpy,SunghanKim/numpy,andsor/numpy,mindw/numpy,sonnyhu/numpy,Linkid/numpy,rherault-insa/numpy,tynn/numpy,bmorris3/numpy,brandon-rhodes/numpy,anntzer/numpy,mindw/numpy,shoyer/numpy,dato-code/numpy,KaelChen/numpy,sigma-random/numpy,dch312/numpy,mortada/numpy,b-carter/numpy,Yusa95/numpy,Yusa95/numpy,rmcgibbo/numpy,ewmoore/numpy,ekalosak/numpy,larsmans/numpy,jonathanunderwood/numpy,mattip/numpy,immerrr/numpy,rherault-insa/numpy,jschueller/numpy,Eric89GXL/numpy,dch312/numpy,argriffing/numpy,jorisvandenbossche/numpy,sonnyhu/numpy,numpy/numpy,ewmoore/numpy,GrimDerp/numpy,seberg/numpy,BMJHayward/numpy,Anwesh43/numpy,simongibbons/numpy,ssanderson/numpy,stefanv/numpy,grlee77/numpy,Yusa95/numpy,behzadnouri/numpy,kirillzhuravlev/numpy,ekalosak/numpy,bringingheavendown/numpy,dwf/numpy,groutr/numpy,mattip/numpy,empeeu/numpy,jschueller/numpy,njase/numpy,dato-code/numpy,sinhrks/numpy,CMartelLML/numpy,gmcastil/numpy,rgommers/numpy,rmcgibbo/numpy,solarjoe/numpy,numpy/numpy-refactor,sonnyhu/numpy,pbrod/numpy,rudimeier/numpy,ContinuumIO/numpy,KaelChen/numpy,joferkington/numpy,WarrenWeckesser/numpy,jonathanunderwood/numpy,brandon-rhodes/numpy,nguyentu1602/numpy,Eric89GXL/numpy,seberg/numpy,ajdawson/numpy,Anwesh43/numpy,ChristopherHogan/numpy,bringingheavendown/numpy,shoyer/numpy,mhvk/numpy,endolith/numpy,WarrenWeckesser/numpy,shoyer/numpy,anntzer/numpy,mathdd/numpy,ChristopherHogan/numpy,mattip/numpy,cowlicks/numpy,cjermain/numpy,MaPePeR/numpy,rherault-insa/numpy,skwbc/numpy,hainm/numpy,cjermain/numpy,andsor/numpy,leifdenby/numpy,astrofrog/numpy,astrofrog/numpy,nbeaver/numpy,chiffa/numpy,WarrenWeckesser/numpy