[Python-checkins] python/dist/src/Lib urlparse.py,1.43,1.44

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Fri May 7 01:50:38 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12376

Modified Files:
	urlparse.py 
Log Message:
Revert last change.

Index: urlparse.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urlparse.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** urlparse.py	6 May 2004 16:55:07 -0000	1.43
--- urlparse.py	7 May 2004 05:50:35 -0000	1.44
***************
*** 9,28 ****
  
  # A classification of schemes ('' means apply by default)
! uses_relative = set(['ftp', 'http', 'gopher', 'nntp', 'imap',
                                 'wais', 'file', 'https', 'shttp', 'mms',
!                                'prospero', 'rtsp', 'rtspu', ''])
! uses_netloc = set(['ftp', 'http', 'gopher', 'nntp', 'telnet',
                               'imap', 'wais', 'file', 'mms', 'https', 'shttp',
!                              'snews', 'prospero', 'rtsp', 'rtspu', ''])
! non_hierarchical = set(['gopher', 'hdl', 'mailto', 'news',
!                                   'telnet', 'wais', 'imap', 'snews', 'sip'])
! uses_params = set(['ftp', 'hdl', 'prospero', 'http', 'imap',
                               'https', 'shttp', 'rtsp', 'rtspu', 'sip',
!                              'mms', ''])
! uses_query = set(['http', 'wais', 'imap', 'https', 'shttp', 'mms',
!                             'gopher', 'rtsp', 'rtspu', 'sip', ''])
! uses_fragment = set(['ftp', 'hdl', 'http', 'gopher', 'news',
                                 'nntp', 'wais', 'https', 'shttp', 'snews',
!                                'file', 'prospero', ''])
  
  # Characters valid in scheme names
--- 9,28 ----
  
  # A classification of schemes ('' means apply by default)
! uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap',
                                 'wais', 'file', 'https', 'shttp', 'mms',
!                                'prospero', 'rtsp', 'rtspu', '']
! uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
                               'imap', 'wais', 'file', 'mms', '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',
!                              'mms', '']
! uses_query = ['http', 'wais', 'imap', 'https', 'shttp', 'mms',
!                             'gopher', 'rtsp', 'rtspu', 'sip', '']
! uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news',
                                 'nntp', 'wais', 'https', 'shttp', 'snews',
!                                'file', 'prospero', '']
  
  # Characters valid in scheme names




More information about the Python-checkins mailing list