[Python-checkins] python/dist/src/Lib urlparse.py,1.35,1.36

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Sun, 05 Jan 2003 22:51:38 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv3304/Lib

Modified Files:
	urlparse.py 
Log Message:
SF feature #618024, urlparse fails on imap://

Index: urlparse.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urlparse.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** urlparse.py	16 Oct 2002 21:21:39 -0000	1.35
--- urlparse.py	6 Jan 2003 06:51:36 -0000	1.36
***************
*** 9,26 ****
  
  # A classification of schemes ('' means apply by default)
! uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'wais', 'file',
                   'https', 'shttp',
                   'prospero', 'rtsp', 'rtspu', '']
! uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'wais',
                 'file',
                 'https', 'shttp', 'snews',
                 'prospero', 'rtsp', 'rtspu', '']
  non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais',
!                     'snews', 'sip',
                      ]
! uses_params = ['ftp', 'hdl', 'prospero', 'http',
                 'https', 'shttp', 'rtsp', 'rtspu', 'sip',
                 '']
! uses_query = ['http', 'wais',
                'https', 'shttp',
                'gopher', 'rtsp', 'rtspu', 'sip',
--- 9,26 ----
  
  # A classification of schemes ('' means apply by default)
! uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap', 'wais', 'file',
                   'https', 'shttp',
                   'prospero', 'rtsp', 'rtspu', '']
! uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet', 'imap', 'wais',
                 'file',
                 'https', 'shttp', 'snews',
                 'prospero', 'rtsp', 'rtspu', '']
  non_hierarchical = ['gopher', 'hdl', 'mailto', 'news', 'telnet', 'wais',
!                     'imap', 'snews', 'sip',
                      ]
! uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',
                 'https', 'shttp', 'rtsp', 'rtspu', 'sip',
                 '']
! uses_query = ['http', 'wais', 'imap',
                'https', 'shttp',
                'gopher', 'rtsp', 'rtspu', 'sip',