BUG: ticket #1578, fix PyArray_Scalar.
BUG: ticket #1578, fix PyArray_Scalar.

PyArray_Scalar needed to use PyObject_* memory management since the numpy
unicode object inherits tp_alloc from PyUnicode_Type.

Observation: realloc returns null on error and that isn't always checked in
Numpy.

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