Added PyInt_CheckExact for python < 3 and error check for PyLong_AsLong
Added PyInt_CheckExact for python < 3 and error check for PyLong_AsLong

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