summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-01-03 18:04:25 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-01-03 18:04:25 (GMT)
commit0056936a4b203d88acb5e9251a9aaa98a4ca7d9a (patch)
tree2de383c38692ec992a375d9207092346d3a8f91e
parent42fa110035032f252c7691b0129717b2eab32731 (diff)
downloadcpython-0056936a4b203d88acb5e9251a9aaa98a4ca7d9a.zip
cpython-0056936a4b203d88acb5e9251a9aaa98a4ca7d9a.tar.gz
cpython-0056936a4b203d88acb5e9251a9aaa98a4ca7d9a.tar.bz2
whatsnew: deprecation of HTTPConnection's strict parameter.
-rw-r--r--Doc/library/http.client.rst12
-rw-r--r--Doc/whatsnew/3.4.rst5
2 files changed, 10 insertions, 7 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 2dbfa20..d4cdfd3 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -52,8 +52,8 @@ The module provides the following classes:
*source_address* was added.
.. versionchanged:: 3.4
- The *strict* parameter is removed. HTTP 0.9-style "Simple Responses" are
- not supported.
+ The *strict* parameter was removed. HTTP 0.9-style "Simple Responses" are
+ not longer supported.
.. class:: HTTPSConnection(host, port=None, key_file=None, \
@@ -90,8 +90,8 @@ The module provides the following classes:
if :data:`ssl.HAS_SNI` is true).
.. versionchanged:: 3.4
- The *strict* parameter is removed. HTTP 0.9-style "Simple Responses" are
- not supported anymore.
+ The *strict* parameter was removed. HTTP 0.9-style "Simple Responses" are
+ no longer supported.
.. class:: HTTPResponse(sock, debuglevel=0, method=None, url=None)
@@ -100,8 +100,8 @@ The module provides the following classes:
instantiated directly by user.
.. versionchanged:: 3.4
- The *strict* parameter is removed. HTTP 0.9 style "Simple Responses" are
- not supported anymore.
+ The *strict* parameter was removed. HTTP 0.9 style "Simple Responses" are
+ no longer supported.
The following exceptions are raised as appropriate:
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 31208c1..792fc8e 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1303,7 +1303,7 @@ removed in Python 3.4:
* The unmaintained ``Misc/TextMate`` and ``Misc/vim`` directories have been
removed (see the `devguide <http://docs.python.org/devguide>`_
- for what to use instead).
+ for suggestions on what to use instead).
* The ``SO`` makefile macro is removed (it was replaced by the
``SHLIB_SUFFIX`` and ``EXT_SUFFIX`` macros) (:issue:`16754`).
@@ -1314,6 +1314,9 @@ removed in Python 3.4:
* ``PyLoader`` and ``PyPycLoader`` have been removed from :mod:`importlib`.
(Contributed by Taras Lyapun in :issue:`15641`.)
+* The *strict* argument to :class:`~http.client.HTTPConnection` has been
+ removed. HTTP 0.9-style "Simple Responses" are no longer supported.
+
Porting to Python 3.4
=====================