FIX: check the return of PyArray_FROM_OTF in optimize/tnc
FIX: check the return of PyArray_FROM_OTF in optimize/tnc

To detect invalid types in particular.

giorgiop/scipy,surhudm/scipy,cpaulik/scipy,nvoron23/scipy,matthew-brett/scipy,rgommers/scipy,mingwpy/scipy,felipebetancur/scipy,tylerjereddy/scipy,vhaasteren/scipy,scipy/scipy,larsmans/scipy,futurulus/scipy,perimosocordiae/scipy,vberaudi/scipy,piyush0609/scipy,ndchorley/scipy,njwilson23/scipy,Stefan-Endres/scipy,njwilson23/scipy,e-q/scipy,aeklant/scipy,FRidh/scipy,pnedunuri/scipy,jonycgn/scipy,sonnyhu/scipy,raoulbq/scipy,Kamp9/scipy,juliantaylor/scipy,gfyoung/scipy,FRidh/scipy,anntzer/scipy,giorgiop/scipy,pnedunuri/scipy,gdooper/scipy,cpaulik/scipy,woodscn/scipy,aarchiba/scipy,Shaswat27/scipy,Gillu13/scipy,nvoron23/scipy,jamestwebber/scipy,sriki18/scipy,kleskjr/scipy,jakevdp/scipy,jor-/scipy,behzadnouri/scipy,kleskjr/scipy,pnedunuri/scipy,kalvdans/scipy,rgommers/scipy,grlee77/scipy,Kamp9/scipy,haudren/scipy,arokem/scipy,scipy/scipy,woodscn/scipy,hainm/scipy,trankmichael/scipy,efiring/scipy,Dapid/scipy,sonnyhu/scipy,e-q/scipy,mortada/scipy,njwilson23/scipy,jamestwebber/scipy,mortonjt/scipy,pschella/scipy,fernand/scipy,anielsen001/scipy,gfyoung/scipy,niknow/scipy,juliantaylor/scipy,richardotis/scipy,zaxliu/scipy,befelix/scipy,andyfaff/scipy,ortylp/scipy,maciejkula/scipy,WillieMaddox/scipy,rmcgibbo/scipy,apbard/scipy,person142/scipy,jjhelmus/scipy,zerothi/scipy,nmayorov/scipy,pyramania/scipy,jsilter/scipy,Dapid/scipy,vhaasteren/scipy,ales-erjavec/scipy,gertingold/scipy,chatcannon/scipy,Srisai85/scipy,andyfaff/scipy,Newman101/scipy,zxsted/scipy,ilayn/scipy,dominicelse/scipy,pizzathief/scipy,sauliusl/scipy,ndchorley/scipy,ogrisel/scipy,jjhelmus/scipy,minhlongdo/scipy,gertingold/scipy,minhlongdo/scipy,ogrisel/scipy,Dapid/scipy,Eric89GXL/scipy,ndchorley/scipy,zerothi/scipy,scipy/scipy,arokem/scipy,lukauskas/scipy,sauliusl/scipy,WarrenWeckesser/scipy,mdhaber/scipy,pizzathief/scipy,Dapid/scipy,mdhaber/scipy,futurulus/scipy,ales-erjavec/scipy,WarrenWeckesser/scipy,mtrbean/scipy,jamestwebber/scipy,person142/scipy,pschella/scipy,perimosocordiae/scipy,juliantaylor/scipy,vigna/scipy,andyfaff/scipy,WillieMaddox/scipy,dominicelse/scipy,bkendzior/scipy,matthew-brett/scipy,Srisai85/scipy,anielsen001/scipy,larsmans/scipy,petebachant/scipy,ndchorley/scipy,jonycgn/scipy,Srisai85/scipy,endolith/scipy,chatcannon/scipy,mhogg/scipy,aarchiba/scipy,felipebetancur/scipy,anntzer/scipy,andim/scipy,hainm/scipy,nvoron23/scipy,mingwpy/scipy,WarrenWeckesser/scipy,gfyoung/scipy,gfyoung/scipy,tylerjereddy/scipy,newemailjdm/scipy,maniteja123/scipy,pyramania/scipy,rmcgibbo/scipy,pnedunuri/scipy,Kamp9/scipy,sargas/scipy,kleskjr/scipy,andim/scipy,Stefan-Endres/scipy,anielsen001/scipy,pyramania/scipy,mhogg/scipy,cpaulik/scipy,lhilt/scipy,vhaasteren/scipy,cpaulik/scipy,aarchiba/scipy,Dapid/scipy,gfyoung/scipy,newemailjdm/scipy,sriki18/scipy,Eric89GXL/scipy,befelix/scipy,newemailjdm/scipy,endolith/scipy,felipebetancur/scipy,matthewalbani/scipy,jonycgn/scipy,njwilson23/scipy,rmcgibbo/scipy,niknow/scipy,arokem/scipy,trankmichael/scipy,apbard/scipy,piyush0609/scipy,witcxc/scipy,mdhaber/scipy,giorgiop/scipy,kleskjr/scipy,minhlongdo/scipy,mingwpy/scipy,anntzer/scipy,vigna/scipy,sauliusl/scipy,sonnyhu/scipy,zxsted/scipy,futurulus/scipy,sargas/scipy,ChanderG/scipy,maniteja123/scipy,matthew-brett/scipy,Shaswat27/scipy,perimosocordiae/scipy,endolith/scipy,Eric89GXL/scipy,zxsted/scipy,mortonjt/scipy,pyramania/scipy,pbrod/scipy,ortylp/scipy,endolith/scipy,mdhaber/scipy,jjhelmus/scipy,larsmans/scipy,petebachant/scipy,mortonjt/scipy,aman-iitj/scipy,jsilter/scipy,trankmichael/scipy,dominicelse/scipy,nmayorov/scipy,vberaudi/scipy,zaxliu/scipy,pschella/scipy,maniteja123/scipy,zerothi/scipy,apbard/scipy,argriffing/scipy,FRidh/scipy,lhilt/scipy,andim/scipy,WarrenWeckesser/scipy,woodscn/scipy,fernand/scipy,andim/scipy,WarrenWeckesser/scipy,haudren/scipy,dch312/scipy,arokem/scipy,vberaudi/scipy,aman-iitj/scipy,efiring/scipy,kalvdans/scipy,nmayorov/scipy,nvoron23/scipy,zerothi/scipy,vberaudi/scipy,bkendzior/scipy,njwilson23/scipy,mhogg/scipy,surhudm/scipy,pyramania/scipy,jseabold/scipy,vanpact/scipy,Newman101/scipy,ogrisel/scipy,chatcannon/scipy,Eric89GXL/scipy,ortylp/scipy,perimosocordiae/scipy,maniteja123/scipy,ChanderG/scipy,jakevdp/scipy,tylerjereddy/scipy,haudren/scipy,aman-iitj/scipy,anntzer/scipy,sauliusl/scipy,kalvdans/scipy,josephcslater/scipy,mgaitan/scipy,grlee77/scipy,nonhermitian/scipy,dch312/scipy,mortada/scipy,tylerjereddy/scipy,anntzer/scipy,ndchorley/scipy,zerothi/scipy,endolith/scipy,jseabold/scipy,perimosocordiae/scipy,mortada/scipy,efiring/scipy,pbrod/scipy,richardotis/scipy,nvoron23/scipy,woodscn/scipy,jor-/scipy,piyush0609/scipy,haudren/scipy,gef756/scipy,lhilt/scipy,Stefan-Endres/scipy,person142/scipy,person142/scipy,fernand/scipy,anielsen001/scipy,minhlongdo/scipy,larsmans/scipy,arokem/scipy,petebachant/scipy,mgaitan/scipy,nonhermitian/scipy,trankmichael/scipy,FRidh/scipy,vigna/scipy,felipebetancur/scipy,rmcgibbo/scipy,Srisai85/scipy,futurulus/scipy,gef756/scipy,Newman101/scipy,ChanderG/scipy,niknow/scipy,maciejkula/scipy,vanpact/scipy,Shaswat27/scipy,rgommers/scipy,jor-/scipy,mhogg/scipy,felipebetancur/scipy,piyush0609/scipy,gdooper/scipy,jakevdp/scipy,pbrod/scipy,gdooper/scipy,Kamp9/scipy,bkendzior/scipy,ortylp/scipy,matthew-brett/scipy,fredrikw/scipy,WillieMaddox/scipy,argriffing/scipy,fernand/scipy,ortylp/scipy,apbard/scipy,Kamp9/scipy,fernand/scipy,behzadnouri/scipy,kleskjr/scipy,nonhermitian/scipy,behzadnouri/scipy,mikebenfield/scipy,Shaswat27/scipy,vberaudi/scipy,mtrbean/scipy,hainm/scipy,mortonjt/scipy,Gillu13/scipy,aarchiba/scipy,lukauskas/scipy,vanpact/scipy,niknow/scipy,mikebenfield/scipy,rmcgibbo/scipy,fredrikw/scipy,piyush0609/scipy,Gillu13/scipy,josephcslater/scipy,argriffing/scipy,mtrbean/scipy,raoulbq/scipy,jjhelmus/scipy,ales-erjavec/scipy,ilayn/scipy,cpaulik/scipy,gef756/scipy,lhilt/scipy,bkendzior/scipy,jamestwebber/scipy,woodscn/scipy,hainm/scipy,larsmans/scipy,Eric89GXL/scipy,matthew-brett/scipy,matthewalbani/scipy,FRidh/scipy,zaxliu/scipy,mtrbean/scipy,befelix/scipy,ChanderG/scipy,pschella/scipy,andyfaff/scipy,nmayorov/scipy,argriffing/scipy,newemailjdm/scipy,dch312/scipy,maciejkula/scipy,befelix/scipy,chatcannon/scipy,aman-iitj/scipy,dominicelse/scipy,sargas/scipy,zaxliu/scipy,ChanderG/scipy,WillieMaddox/scipy,surhudm/scipy,jseabold/scipy,raoulbq/scipy,zxsted/scipy,njwilson23/scipy,Dapid/scipy,richardotis/scipy,mikebenfield/scipy,argriffing/scipy,sriki18/scipy,anielsen001/scipy,zerothi/scipy,jjhelmus/scipy,fredrikw/scipy,raoulbq/scipy,rgommers/scipy,Kamp9/scipy,gdooper/scipy,grlee77/scipy,giorgiop/scipy,maciejkula/scipy,kleskjr/scipy,ales-erjavec/scipy,endolith/scipy,jakevdp/scipy,nvoron23/scipy,bkendzior/scipy,behzadnouri/scipy,efiring/scipy,FRidh/scipy,aeklant/scipy,dch312/scipy,surhudm/scipy,vigna/scipy,anntzer/scipy,pnedunuri/scipy,rgommers/scipy,sargas/scipy,jakevdp/scipy,jsilter/scipy,pizzathief/scipy,mingwpy/scipy,zaxliu/scipy,maniteja123/scipy,petebachant/scipy,pschella/scipy,grlee77/scipy,lukauskas/scipy,gef756/scipy,sriki18/scipy,petebachant/scipy,juliantaylor/scipy,woodscn/scipy,richardotis/scipy,mortada/scipy,nonhermitian/scipy,cpaulik/scipy,WillieMaddox/scipy,gef756/scipy,richardotis/scipy,witcxc/scipy,jonycgn/scipy,Stefan-Endres/scipy,Gillu13/scipy,sriki18/scipy,raoulbq/scipy,lukauskas/scipy,chatcannon/scipy,aman-iitj/scipy,mgaitan/scipy,josephcslater/scipy,mgaitan/scipy,andim/scipy,kalvdans/scipy,nonhermitian/scipy,gdooper/scipy,mikebenfield/scipy,Shaswat27/scipy,jseabold/scipy,haudren/scipy,ndchorley/scipy,person142/scipy,Newman101/scipy,jseabold/scipy,surhudm/scipy,gertingold/scipy,ilayn/scipy,sargas/scipy,pizzathief/scipy,hainm/scipy,witcxc/scipy,giorgiop/scipy,surhudm/scipy,chatcannon/scipy,minhlongdo/scipy,sonnyhu/scipy,maciejkula/scipy,vanpact/scipy,mtrbean/scipy,lukauskas/scipy,jor-/scipy,sauliusl/scipy,vanpact/scipy,mingwpy/scipy,jsilter/scipy,aarchiba/scipy,dch312/scipy,matthewalbani/scipy,fredrikw/scipy,mgaitan/scipy,haudren/scipy,jor-/scipy,andim/scipy,futurulus/scipy,gef756/scipy,perimosocordiae/scipy,ilayn/scipy,mortonjt/scipy,pnedunuri/scipy,zaxliu/scipy,vigna/scipy,vhaasteren/scipy,e-q/scipy,mortada/scipy,mhogg/scipy,trankmichael/scipy,newemailjdm/scipy,tylerjereddy/scipy,ales-erjavec/scipy,giorgiop/scipy,witcxc/scipy,futurulus/scipy,jonycgn/scipy,Stefan-Endres/scipy,sauliusl/scipy,mdhaber/scipy,petebachant/scipy,zxsted/scipy,gertingold/scipy,lhilt/scipy,zxsted/scipy,Stefan-Endres/scipy,mtrbean/scipy,efiring/scipy,pbrod/scipy,ilayn/scipy,rmcgibbo/scipy,jseabold/scipy,vanpact/scipy,jonycgn/scipy,ChanderG/scipy,argriffing/scipy,vhaasteren/scipy,behzadnouri/scipy,WarrenWeckesser/scipy,andyfaff/scipy,jsilter/scipy,matthewalbani/scipy,mortada/scipy,mikebenfield/scipy,WillieMaddox/scipy,josephcslater/scipy,pbrod/scipy,pizzathief/scipy,ortylp/scipy,e-q/scipy,anielsen001/scipy,piyush0609/scipy,kalvdans/scipy,newemailjdm/scipy,fernand/scipy,niknow/scipy,pbrod/scipy,larsmans/scipy,minhlongdo/scipy,matthewalbani/scipy,behzadnouri/scipy,aeklant/scipy,mortonjt/scipy,richardotis/scipy,mhogg/scipy,aeklant/scipy,jamestwebber/scipy,Gillu13/scipy,Srisai85/scipy,sonnyhu/scipy,mgaitan/scipy,Shaswat27/scipy,lukauskas/scipy,efiring/scipy,vhaasteren/scipy,scipy/scipy,Gillu13/scipy,mdhaber/scipy,Eric89GXL/scipy,trankmichael/scipy,befelix/scipy,aman-iitj/scipy,fredrikw/scipy,dominicelse/scipy,ales-erjavec/scipy,hainm/scipy,apbard/scipy,sonnyhu/scipy,Newman101/scipy,gertingold/scipy,sriki18/scipy,andyfaff/scipy,fredrikw/scipy,scipy/scipy,nmayorov/scipy,scipy/scipy,ogrisel/scipy,e-q/scipy,ilayn/scipy,mingwpy/scipy,witcxc/scipy,josephcslater/scipy,felipebetancur/scipy,Srisai85/scipy,raoulbq/scipy,aeklant/scipy,grlee77/scipy,vberaudi/scipy,Newman101/scipy,niknow/scipy,maniteja123/scipy,juliantaylor/scipy,ogrisel/scipy