ENH: Add scalar special cases to Priority getter
ENH: Add scalar special cases to Priority getter

Exact Python scalars can never have a priority, but checking
it is expensive. This adds checks for these to the Priority
getter function.

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