diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-10-07 02:10:42 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-10-07 02:10:42 (GMT) |
commit | 7ecc5ba7be9448badd6030eeb56692846dd11c5b (patch) | |
tree | d4464bddc006a88a9320da5268e478b2f494a518 /Doc/whatsnew | |
parent | e24728bb9e0679db5371ec38d54f8b30ff8c51b7 (diff) | |
parent | fd740967baf73dcee9d294f690d41d67e81f308c (diff) | |
download | cpython-7ecc5ba7be9448badd6030eeb56692846dd11c5b.zip cpython-7ecc5ba7be9448badd6030eeb56692846dd11c5b.tar.gz cpython-7ecc5ba7be9448badd6030eeb56692846dd11c5b.tar.bz2 |
Merge: 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.rst | 27 |
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 -------- |