An attempt to fix #4 (dijkstra).
An attempt to fix #4 (dijkstra).

Needs review and test

--HG--
extra : convert_revision : svn%3A3ed01bd8-26fb-0310-9e4c-ca1a4053419f/networkx/trunk%4030

blublud/networkx,kai5263499/networkx,kai5263499/networkx,jni/networkx,michaelpacer/networkx,kernc/networkx,blublud/networkx,chrisnatali/networkx,nathania/networkx,sharifulgeo/networkx,ghdk/networkx,ionanrozenfeld/networkx,harlowja/networkx,goulu/networkx,RMKD/networkx,cmtm/networkx,andnovar/networkx,jni/networkx,RMKD/networkx,farhaanbukhsh/networkx,dmoliveira/networkx,ghdk/networkx,ionanrozenfeld/networkx,tmilicic/networkx,farhaanbukhsh/networkx,kai5263499/networkx,dmoliveira/networkx,JamesClough/networkx,kernc/networkx,jtorrents/networkx,debsankha/networkx,chrisnatali/networkx,jakevdp/networkx,bzero/networkx,jcurbelo/networkx,beni55/networkx,debsankha/networkx,kernc/networkx,dhimmel/networkx,ionanrozenfeld/networkx,jni/networkx,ghdk/networkx,NvanAdrichem/networkx,sharifulgeo/networkx,ltiao/networkx,OrkoHunter/networkx,jakevdp/networkx,aureooms/networkx,Sixshaman/networkx,farhaanbukhsh/networkx,dhimmel/networkx,jtorrents/networkx,nathania/networkx,bzero/networkx,aureooms/networkx,dhimmel/networkx,wasade/networkx,bzero/networkx,harlowja/networkx,jakevdp/networkx,dmoliveira/networkx,harlowja/networkx,SanketDG/networkx,debsankha/networkx,blublud/networkx,jfinkels/networkx,aureooms/networkx,sharifulgeo/networkx,nathania/networkx,yashu-seth/networkx,chrisnatali/networkx,RMKD/networkx