[Python-checkins] r83905 - in python/branches/release27-maint: Doc/faq/library.rst Doc/library/logging.rst Doc/library/urllib.rst Doc/library/urlparse.rst

senthil.kumaran python-checkins at python.org
Mon Aug 9 22:14:11 CEST 2010


Author: senthil.kumaran
Date: Mon Aug  9 22:14:11 2010
New Revision: 83905

Log:
Merged revisions 83900 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83900 | senthil.kumaran | 2010-08-10 01:23:52 +0530 (Tue, 10 Aug 2010) | 3 lines
  
  Fix Issue7007 -  Use percent-encoded consistently instead of URL Encoded variations. Docs changed.
........


Modified:
   python/branches/release27-maint/   (props changed)
   python/branches/release27-maint/Doc/faq/library.rst
   python/branches/release27-maint/Doc/library/logging.rst
   python/branches/release27-maint/Doc/library/urllib.rst
   python/branches/release27-maint/Doc/library/urlparse.rst

Modified: python/branches/release27-maint/Doc/faq/library.rst
==============================================================================
--- python/branches/release27-maint/Doc/faq/library.rst	(original)
+++ python/branches/release27-maint/Doc/faq/library.rst	Mon Aug  9 22:14:11 2010
@@ -672,7 +672,7 @@
    if reply != 200:
        sys.stdout.write(httpobj.getfile().read())
 
-Note that in general for URL-encoded POST operations, query strings must be
+Note that in general for a percent-encoded POST operations, query strings must be
 quoted by using :func:`urllib.quote`.  For example to send name="Guy Steele,
 Jr."::
 

Modified: python/branches/release27-maint/Doc/library/logging.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/logging.rst	(original)
+++ python/branches/release27-maint/Doc/library/logging.rst	Mon Aug  9 22:14:11 2010
@@ -2405,7 +2405,7 @@
 
    .. method:: emit(record)
 
-      Sends the record to the Web server as an URL-encoded dictionary.
+      Sends the record to the Web server as a percent-encoded dictionary.
 
 
 .. _formatter:

Modified: python/branches/release27-maint/Doc/library/urllib.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/urllib.rst	(original)
+++ python/branches/release27-maint/Doc/library/urllib.rst	Mon Aug  9 22:14:11 2010
@@ -237,7 +237,7 @@
 .. function:: urlencode(query[, doseq])
 
    Convert a mapping object or a sequence of two-element tuples to a
-   "url-encoded" string, suitable to pass to :func:`urlopen` above as the
+   "percent-encoded" string, suitable to pass to :func:`urlopen` above as the
    optional *data* argument.  This is useful to pass a dictionary of form
    fields to a ``POST`` request.  The resulting string is a series of
    ``key=value`` pairs separated by ``'&'`` characters, where both *key* and
@@ -262,7 +262,7 @@
 
 .. function:: url2pathname(path)
 
-   Convert the path component *path* from an encoded URL to the local syntax for a
+   Convert the path component *path* from an percent-encoded URL to the local syntax for a
    path.  This does not accept a complete URL.  This function uses :func:`unquote`
    to decode *path*.
 

Modified: python/branches/release27-maint/Doc/library/urlparse.rst
==============================================================================
--- python/branches/release27-maint/Doc/library/urlparse.rst	(original)
+++ python/branches/release27-maint/Doc/library/urlparse.rst	Mon Aug  9 22:14:11 2010
@@ -131,7 +131,7 @@
    values are lists of values for each name.
 
    The optional argument *keep_blank_values* is a flag indicating whether blank
-   values in URL encoded queries should be treated as blank strings.   A true value
+   values in percent-encoded queries should be treated as blank strings.   A true value
    indicates that blanks should be retained as  blank strings.  The default false
    value indicates that blank values are to be ignored and treated as if they were
    not included.
@@ -154,7 +154,7 @@
    name, value pairs.
 
    The optional argument *keep_blank_values* is a flag indicating whether blank
-   values in URL encoded queries should be treated as blank strings.   A true value
+   values in percent-encoded queries should be treated as blank strings.   A true value
    indicates that blanks should be retained as  blank strings.  The default false
    value indicates that blank values are to be ignored and treated as if they were
    not included.


More information about the Python-checkins mailing list