[Python-checkins] r43520 - in python/trunk: Doc/lib/liburlparse.tex Lib/urlparse.py

fred.drake python-checkins at python.org
Sat Apr 1 08:11:08 CEST 2006


Author: fred.drake
Date: Sat Apr  1 08:11:07 2006
New Revision: 43520

Modified:
   python/trunk/Doc/lib/liburlparse.tex
   python/trunk/Lib/urlparse.py
Log:
add support for the sips: scheme (identical to sip: except for scheme name)

Modified: python/trunk/Doc/lib/liburlparse.tex
==============================================================================
--- python/trunk/Doc/lib/liburlparse.tex	(original)
+++ python/trunk/Doc/lib/liburlparse.tex	Sat Apr  1 08:11:07 2006
@@ -23,9 +23,9 @@
 \code{file}, \code{ftp}, \code{gopher}, \code{hdl}, \code{http}, 
 \code{https}, \code{imap}, \code{mailto}, \code{mms}, \code{news}, 
 \code{nntp}, \code{prospero}, \code{rsync}, \code{rtsp}, \code{rtspu}, 
-\code{sftp}, \code{shttp}, \code{sip}, \code{snews}, \code{svn}, 
+\code{sftp}, \code{shttp}, \code{sip}, \code{sips}, \code{snews}, \code{svn}, 
 \code{svn+ssh}, \code{telnet}, \code{wais}.
-\versionadded[Support for the \code{sftp} scheme]{2.5}
+\versionadded[Support for the \code{sftp} and \code{sips} schemes]{2.5}
 
 The \module{urlparse} module defines the following functions:
 

Modified: python/trunk/Lib/urlparse.py
==============================================================================
--- python/trunk/Lib/urlparse.py	(original)
+++ python/trunk/Lib/urlparse.py	Sat Apr  1 08:11:07 2006
@@ -16,12 +16,12 @@
                'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '',
                'svn', 'svn+ssh', 'sftp']
 non_hierarchical = ['gopher', 'hdl', 'mailto', 'news',
-                    'telnet', 'wais', 'imap', 'snews', 'sip']
+                    'telnet', 'wais', 'imap', 'snews', 'sip', 'sips']
 uses_params = ['ftp', 'hdl', 'prospero', 'http', 'imap',
-               'https', 'shttp', 'rtsp', 'rtspu', 'sip',
+               'https', 'shttp', 'rtsp', 'rtspu', 'sip', 'sips',
                'mms', '', 'sftp']
 uses_query = ['http', 'wais', 'imap', 'https', 'shttp', 'mms',
-              'gopher', 'rtsp', 'rtspu', 'sip', '']
+              'gopher', 'rtsp', 'rtspu', 'sip', 'sips', '']
 uses_fragment = ['ftp', 'hdl', 'http', 'gopher', 'news',
                  'nntp', 'wais', 'https', 'shttp', 'snews',
                  'file', 'prospero', '']


More information about the Python-checkins mailing list