[Python-checkins] cpython: Add a versionchanged note for #9374 changes.

georg.brandl python-checkins at python.org
Sat Sep 29 09:27:46 CEST 2012


http://hg.python.org/cpython/rev/950320c70fb4
changeset:   79233:950320c70fb4
user:        Georg Brandl <georg at python.org>
date:        Sat Sep 29 08:59:23 2012 +0200
summary:
  Add a versionchanged note for #9374 changes.

files:
  Doc/library/urllib.parse.rst |  8 ++++++--
  1 files changed, 6 insertions(+), 2 deletions(-)


diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst
--- a/Doc/library/urllib.parse.rst
+++ b/Doc/library/urllib.parse.rst
@@ -81,8 +81,7 @@
    this argument is the empty string.
 
    If the *allow_fragments* argument is false, fragment identifiers are not
-   allowed, even if the URL's addressing scheme normally does support them.  The
-   default value for this argument is :const:`True`.
+   allowed.  The default value for this argument is :const:`True`.
 
    The return value is actually an instance of a subclass of :class:`tuple`.  This
    class has the following additional read-only convenience attributes:
@@ -119,6 +118,11 @@
    .. versionchanged:: 3.2
       Added IPv6 URL parsing capabilities.
 
+   .. versionchanged:: 3.3
+      The fragment is now parsed for all URL schemes (unless *allow_fragment* is
+      false), in accordance with :rfc:`3986`.  Previously, a whitelist of
+      schemes that support fragments existed.
+
 
 .. function:: parse_qs(qs, keep_blank_values=False, strict_parsing=False, encoding='utf-8', errors='replace')
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list