[Python-checkins] cpython: whatsnew: porting note for HTTP[S]Connection strict parameter removal.

r.david.murray python-checkins at python.org
Fri Jan 3 20:14:08 CET 2014


http://hg.python.org/cpython/rev/f9bb9c11363a
changeset:   88281:f9bb9c11363a
parent:      88279:5ff4f2be7d8a
user:        R David Murray <rdmurray at bitdance.com>
date:        Fri Jan 03 14:06:01 2014 -0500
summary:
  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.

files:
  Doc/whatsnew/3.4.rst |  11 +++++++++--
  1 files changed, 9 insertions(+), 2 deletions(-)


diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1314,8 +1314,9 @@
 * ``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 @@
   ``-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
 --------------------

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list