[Python-checkins] r80146 - python/trunk/Lib/urlparse.py
Ezio Melotti
ezio.melotti at gmail.com
Mon Apr 19 10:40:07 CEST 2010
Hi,
this should be updated in the doc as well:
http://docs.python.org/dev/library/urlparse.html
I'll re-open #5650.
Best Regards,
Ezio Melotti
On 17/04/2010 17.30, senthil.kumaran wrote:
> Author: senthil.kumaran
> Date: Sat Apr 17 16:30:53 2010
> New Revision: 80146
>
> Log:
> Fix Issue5650 - Update the RFC List in the urlparse module.
>
>
>
> Modified:
> python/trunk/Lib/urlparse.py
>
> Modified: python/trunk/Lib/urlparse.py
> ==============================================================================
> --- python/trunk/Lib/urlparse.py (original)
> +++ python/trunk/Lib/urlparse.py Sat Apr 17 16:30:53 2010
> @@ -1,7 +1,30 @@
> """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.
> +
> """
>
> __all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag",
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>
More information about the Python-checkins
mailing list