summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-10-07 02:08:08 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-10-07 02:08:08 (GMT)
commitfd740967baf73dcee9d294f690d41d67e81f308c (patch)
treea80f32c1361fa9939e2ee14cbdf11189b297e7bb /Doc/whatsnew
parentca76ea16ad616fb3c486fbe55d93548f34a7e505 (diff)
downloadcpython-fd740967baf73dcee9d294f690d41d67e81f308c.zip
cpython-fd740967baf73dcee9d294f690d41d67e81f308c.tar.gz
cpython-fd740967baf73dcee9d294f690d41d67e81f308c.tar.bz2
More whatsnew updates. Also move a C-API NEWS item out of library section.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.3.rst27
1 files changed, 26 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index cb7dd83..2ba37f9 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -940,6 +940,14 @@ ASCII-only Unicode strings are now accepted by the decoding functions of the
modern interface. For example, ``base64.b64decode('YWJj')`` returns ``b'abc'``.
+binascii
+--------
+
+In addition to the binary objects they normally accept, the ``a2b_`` functions
+now all also accept ASCII-only strings as input. (Contributed by Antoine
+Pitrou in :issue:`13637`.)
+
+
bz2
---
@@ -1403,6 +1411,11 @@ can be used to directly manage when the accumlated headers are sent.
:class:`http.server` now produces valid ``HTML 4.01 strict`` output.
(Contributed by Ezio Melotti in :issue:`13295`.)
+:class:`http.client.HTTPResponse` now has a
+:meth:`~http.client.HTTPResponse.readinto` method, which means it can be used
+as a :class:`io.RawIOBase` class. (Contributed by John Kuhn in
+:issue:`13464`.)
+
html
----
@@ -1912,7 +1925,8 @@ ssl
SCRAM-SHA-1-PLUS. (Contributed by Jacek Konieczny in :issue:`12551`)
* You can query the SSL compression algorithm used by an SSL socket, thanks
- to its new :meth:`~ssl.SSLSocket.compression` method.
+ to its new :meth:`~ssl.SSLSocket.compression` method. The new attribute
+ :attr:`~ssl.OP_NO_COMPRESSION` can be used to disable compression.
(Contributed by Antoine Pitrou in :issue:`13634`)
* Support has been added for the Next Procotol Negotiation extension using
@@ -1926,6 +1940,10 @@ ssl
* The :func:`~ssl.get_server_certificate` function now supports IPv6.
(Contributed by Charles-François Natali in :issue:`11811`.)
+* New attribute :attr:`~ssl.OP_CIPHER_SERVER_PREFERENCE` allows setting
+ SSLv3 server sockets to use the server's cipher ordering preference rather
+ than the client's (:issue:`13635`).
+
stat
----
@@ -1964,6 +1982,13 @@ sequence` holding informations about the thread implementation
(:issue:`11223`).
+tarfile
+-------
+
+:mod:`tarfile` now supports ``lzma`` encoding via the :mod:`lzma` module.
+(Contributed by Lars Gustäbel in :issue:`5689`.)
+
+
tempfile
--------