From: Guido van Rossum Date: Mon, 22 Feb 1999 15:38:46 +0000 (+0000) Subject: Steve Clift pointed out that 'file' allows a netloc. X-Git-Tag: v1.5.2c1~288 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=974e32d910c259c0d97e96897d27b69388ac8577;p=python Steve Clift pointed out that 'file' allows a netloc. --- diff --git a/Lib/urlparse.py b/Lib/urlparse.py index 148633e954..af41a7af09 100644 --- a/Lib/urlparse.py +++ b/Lib/urlparse.py @@ -10,6 +10,7 @@ uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file', 'https', 'shttp', 'prospero', ''] uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais', + 'file', 'https', 'shttp', 'snews', 'prospero', ''] non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais',