Kaydet (Commit) 4f442372 authored tarafından Neal Norwitz's avatar Neal Norwitz

SF feature #618024, urlparse fails on imap://

üst b9ef4aea
...@@ -8,20 +8,20 @@ __all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag", ...@@ -8,20 +8,20 @@ __all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag",
"urlsplit", "urlunsplit"] "urlsplit", "urlunsplit"]
# A classification of schemes ('' means apply by default) # A classification of schemes ('' means apply by default)
uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file', uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap', 'wais', 'file',
'https', 'shttp', 'https', 'shttp',
'prospero', 'rtsp', 'rtspu', ''] 'prospero', 'rtsp', 'rtspu', '']
uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais', uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'imap', 'wais',
'file', 'file',
'https', 'shttp', 'snews', 'https', 'shttp', 'snews',
'prospero', 'rtsp', 'rtspu', ''] 'prospero', 'rtsp', 'rtspu', '']
non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais', non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais',
'snews', 'sip', 'imap', 'snews', 'sip',
] ]
uses_params = ['ftp', 'hdl', 'prospero', 'http', uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',
'https', 'shttp', 'rtsp', 'rtspu', 'sip', 'https', 'shttp', 'rtsp', 'rtspu', 'sip',
''] '']
uses_query = ['http', 'wais', uses_query = ['http', 'wais', 'imap',
'https', 'shttp', 'https', 'shttp',
'gopher', 'rtsp', 'rtspu', 'sip', 'gopher', 'rtsp', 'rtspu', 'sip',
''] '']
......
...@@ -67,6 +67,7 @@ Library ...@@ -67,6 +67,7 @@ Library
to tar archive files with transparent gzip and bzip2 compression. to tar archive files with transparent gzip and bzip2 compression.
See SF patch #651082. See SF patch #651082.
- urlparse can now parse imap:// URLs. See SF feature request #618024.
Tools/Demos Tools/Demos
----------- -----------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment