Seems to me if you still want modules like urlparse to be able to parse bzr urls, you want to keep the //. OTOH, neither 'ssh' nor 'bzr+ssh' are in urlparse's uses_netloc array, so I'm not sure how much it would help anyway.
A hack-around for Python is:
import urlparse urlparse.uses_netloc.append('bzr+ssh')
but that is pretty gross.
Seems to me if you still want modules like urlparse to be able to parse bzr urls, you want to keep the //. OTOH, neither 'ssh' nor 'bzr+ssh' are in urlparse's uses_netloc array, so I'm not sure how much it would help anyway.
A hack-around for Python is:
import urlparse uses_netloc. append( 'bzr+ssh' )
urlparse.
but that is pretty gross.