summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-01-03 14:06:01 -0500
committerR David Murray <rdmurray@bitdance.com>2014-01-03 14:06:01 -0500
commita2924cabaf115169b1629424dbe71ba5a18670da (patch)
tree0fde106b7bb5a28af0202f910b98444fd1ce6e63
parent0056936a4b203d88acb5e9251a9aaa98a4ca7d9a (diff)
downloadcpython-git-a2924cabaf115169b1629424dbe71ba5a18670da.tar.gz
whatsnew: porting note for HTTP[S]Connection strict parameter removal.
It was discussed in issue #17460 whether or not to make the remaining arguments keyword only so that things would fail noisily if someone was still using positional parameters, but no decision was made and we are now well past the Beta API change deadline.
-rw-r--r--Doc/whatsnew/3.4.rst11
1 files changed, 9 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 792fc8e99b..ccdd721066 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1314,8 +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.
+* The *strict* argument to :class:`~http.client.HTTPConnection` and
+ :class:`~http.client.HTTPSConnection` has been removed. HTTP 0.9-style
+ "Simple Responses" are no longer supported.
Porting to Python 3.4
@@ -1383,6 +1384,12 @@ Changes in the Python API
``-m`` with the interpreter (this does not influence when the path to a file
is specified on the command-line).
+* The removal of the *strict* argument to :class:`~http.client.HTTPConnection`
+ and :class:`~http.client.HTTPSConnection` changes the meaning of the
+ remaining arguments if you are specifying them positionally rather than by
+ keyword. If you've been paying attention to deprecation warnings your code
+ should already be specifying any additional arguments via keywords.
+
Changes in the C API
--------------------