]> granicus.if.org Git - python/commitdiff
#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )
authorSenthil Kumaran <senthil@uthcode.com>
Tue, 19 Mar 2013 00:09:50 +0000 (17:09 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Tue, 19 Mar 2013 00:09:50 +0000 (17:09 -0700)
Doc/library/urllib.request.rst

index 2cf1304536845e14c18012efbf4e8b1f4c3ad31e..3aaf2c2ac93551f89d3cd54db14a15468ddf6d3e 100644 (file)
@@ -1274,6 +1274,8 @@ some point in the future.
 
 .. class:: URLopener(proxies=None, **x509)
 
+   .. deprecated:: 3.3
+
    Base class for opening and reading URLs.  Unless you need to support opening
    objects using schemes other than :file:`http:`, :file:`ftp:`, or :file:`file:`,
    you probably want to use :class:`FancyURLopener`.
@@ -1343,6 +1345,8 @@ some point in the future.
 
 .. class:: FancyURLopener(...)
 
+   .. deprecated:: 3.3
+
    :class:`FancyURLopener` subclasses :class:`URLopener` providing default handling
    for the following HTTP response codes: 301, 302, 303, 307 and 401.  For the 30x
    response codes listed above, the :mailheader:`Location` header is used to fetch