This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Buck.Golemon
Recipients Buck.Golemon, ankitoshniwal
Date 2012-06-07.23:55:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339113312.89.0.803896569173.issue15009@psf.upfronthosting.co.za>
In-reply-to
Content
Well i think the real issue is that you can't enumerate the protocals that "use netloc". All protocols are allowed to have a netloc. the smb: protocol certainly does, but it's not in the list.

The core issue is that smb:/foo and smb:///foo are different urls, and should be represented differently when split. The /// form has a netloc, it's just the empty-string. The single-slash form has no netloc, so I propose that urlsplit('smb:/foo') return SplitResult(scheme='smb', netloc=None, path='/foo', query='', fragment='')
History
Date User Action Args
2012-06-07 23:55:13Buck.Golemonsetrecipients: + Buck.Golemon, ankitoshniwal
2012-06-07 23:55:12Buck.Golemonsetmessageid: <1339113312.89.0.803896569173.issue15009@psf.upfronthosting.co.za>
2012-06-07 23:55:12Buck.Golemonlinkissue15009 messages
2012-06-07 23:55:12Buck.Golemoncreate