summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-04-17 14:47:13 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-04-17 14:47:13 (GMT)
commit6ffdb6f921c1be37ce3679fe73e211c01942427a (patch)
tree938d21da199baf289b087d24ad83b2d96bc074cc /Lib
parentc4836e7e8851144a8cd3598c54f5207fe84fe359 (diff)
downloadcpython-6ffdb6f921c1be37ce3679fe73e211c01942427a.zip
cpython-6ffdb6f921c1be37ce3679fe73e211c01942427a.tar.gz
cpython-6ffdb6f921c1be37ce3679fe73e211c01942427a.tar.bz2
Merged revisions 80148 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r80148 | senthil.kumaran | 2010-04-17 20:14:14 +0530 (Sat, 17 Apr 2010) | 9 lines Merged revisions 80146 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80146 | senthil.kumaran | 2010-04-17 20:00:53 +0530 (Sat, 17 Apr 2010) | 3 lines Fix Issue5650 - Update the RFC List in the urlparse module. ........ ................
Diffstat (limited to 'Lib')
-rw-r--r--Lib/urllib/parse.py26
1 files changed, 24 insertions, 2 deletions
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py
index c1ae5ff..8bba150 100644
--- a/Lib/urllib/parse.py
+++ b/Lib/urllib/parse.py
@@ -1,7 +1,29 @@
"""Parse (absolute and relative) URLs.
-See RFC 1808: "Relative Uniform Resource Locators", by R. Fielding,
-UC Irvine, June 1995.
+urlparse module is based upon the following RFC specifications.
+
+RFC 3986 (STD66): "Uniform Resource Identifiers" by T. Berners-Lee, R. Fielding
+and L. Masinter, January 2005.
+
+RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter
+and L.Masinter, December 1999.
+
+RFC2396: "Uniform Resource Identifiers (URI)": Generic Syntax by T.
+Berners-Lee, R. Fielding, and L. Masinter, August 1998.
+
+RFC2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zwinski, July 1998.
+
+RFC 1808: "Relative Uniform Resource Locators", by R. Fielding, UC Irvine, June
+1995.
+
+RFC1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M.
+McCahill, December 1994
+
+RFC 3986 is considered the current standard and any changes to urlparse module
+should conform to this. urlparse module is not entirely compliant with this.
+The defacto scenarios of parsing are considered sometimes and for backward
+compatiblity purposes, older RFC uses of parsing are retained. The testcases in
+test_urlparse.py provides a good indicator of parsing behavior.
"""
import sys