Add some caching to default_dir(), and close all opened shelves (shelve doesn't guarantee proper flushing unless close() is explicitly called).
Add some caching to default_dir(), and close all opened shelves (shelve doesn't guarantee proper flushing unless close() is explicitly called).

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