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 chris.jerdonek
Recipients chris.jerdonek, martin.panter, xtreak
Date 2018-07-31.07:11:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> The RFC treats empty authority and no authority as different cases.

I'm not well-versed on this. But I guess this means urllib.parse doesn't support this distinction. For example:

  >>> urllib.parse.urlsplit('file:/foo')
  SplitResult(scheme='file', netloc='', path='/foo', query='', fragment='')
  >>> urllib.parse.urlsplit('file:///foo')
  SplitResult(scheme='file', netloc='', path='/foo', query='', fragment='')
  >>> urllib.parse.urlsplit('file:/foo') == \

Both have authority / netloc equal to the empty string, even though in the first example the authority isn't present per your comment.
Date User Action Args
2018-07-31 07:11:19chris.jerdoneksetrecipients: + chris.jerdonek, martin.panter, xtreak
2018-07-31 07:11:19chris.jerdoneksetmessageid: <>
2018-07-31 07:11:19chris.jerdoneklinkissue34276 messages
2018-07-31 07:11:19chris.jerdonekcreate