diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-01-03 19:06:01 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-01-03 19:06:01 (GMT) |
commit | a2924cabaf115169b1629424dbe71ba5a18670da (patch) | |
tree | 0fde106b7bb5a28af0202f910b98444fd1ce6e63 /Doc/whatsnew | |
parent | 0056936a4b203d88acb5e9251a9aaa98a4ca7d9a (diff) | |
download | cpython-a2924cabaf115169b1629424dbe71ba5a18670da.zip cpython-a2924cabaf115169b1629424dbe71ba5a18670da.tar.gz cpython-a2924cabaf115169b1629424dbe71ba5a18670da.tar.bz2 |
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.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | 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 index 792fc8e..ccdd721 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 -------------------- |