Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15)

Side by Side Diff: Doc/whatsnew/3.6.rst

Issue 26404: socketserver context manager
Patch Set: Created 3 years, 12 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 **************************** 1 ****************************
2 What's New In Python 3.6 2 What's New In Python 3.6
3 **************************** 3 ****************************
4 4
5 :Release: |release| 5 :Release: |release|
6 :Date: |today| 6 :Date: |today|
7 7
8 .. Rules for maintenance: 8 .. Rules for maintenance:
9 9
10 * Anyone can add text to this document. Do not spend very much time 10 * Anyone can add text to this document. Do not spend very much time
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 A new :meth:`ZipInfo.is_dir() <zipfile.ZipInfo.is_dir>` method can be used 177 A new :meth:`ZipInfo.is_dir() <zipfile.ZipInfo.is_dir>` method can be used
178 to check if the :class:`~zipfile.ZipInfo` instance represents a directory. 178 to check if the :class:`~zipfile.ZipInfo` instance represents a directory.
179 (Contributed by Thomas Kluyver in :issue:`26039`.) 179 (Contributed by Thomas Kluyver in :issue:`26039`.)
180 180
181 181
182 zlib 182 zlib
183 ---- 183 ----
184 184
185 The :func:`~zlib.compress` function now accepts keyword arguments. 185 The :func:`~zlib.compress` function now accepts keyword arguments.
186 (Contributed by Aviv Palivoda in :issue:`26243`.) 186 (Contributed by Aviv Palivoda in :issue:`26243`.)
187
188
189 socketserver
190 ----
Martin Panter 2016/04/13 04:52:57 Needed more underlines to stop a doc build warning
191
192 Servers based on the :mod:`socketserver` module, including those
193 defined in :mod:`http.server`, :mod:`xmlrpc.server` and
194 :mod:`wsgiref.simple_server`, supports the :term:`context manager`
Martin Panter 2016/04/13 04:52:57 Servers . . . now support . . . (no S at the end)
195 protocol.
196 (Contributed by Aviv Palivoda in :issue:`26404`.)
187 197
188 198
189 Optimizations 199 Optimizations
190 ============= 200 =============
191 201
192 * The ASCII decoder is now up to 60 times as fast for error handlers 202 * The ASCII decoder is now up to 60 times as fast for error handlers
193 ``surrogateescape``, ``ignore`` and ``replace`` (Contributed 203 ``surrogateescape``, ``ignore`` and ``replace`` (Contributed
194 by Victor Stinner in :issue:`24870`). 204 by Victor Stinner in :issue:`24870`).
195 205
196 * The ASCII and the Latin1 encoders are now up to 3 times as fast for the 206 * The ASCII and the Latin1 encoders are now up to 3 times as fast for the
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 :meth:`~socketserver.BaseServer.handle_error` is no longer called, and 354 :meth:`~socketserver.BaseServer.handle_error` is no longer called, and
345 the exception will stop a single-threaded server. (Contributed by 355 the exception will stop a single-threaded server. (Contributed by
346 Martin Panter in :issue:`23430`.) 356 Martin Panter in :issue:`23430`.)
347 357
348 358
349 Changes in the C API 359 Changes in the C API
350 -------------------- 360 --------------------
351 361
352 * :c:func:`Py_Exit` (and the main interpreter) now override the exit status 362 * :c:func:`Py_Exit` (and the main interpreter) now override the exit status
353 with 120 if flushing buffered data failed. See :issue:`5319`. 363 with 120 if flushing buffered data failed. See :issue:`5319`.
OLDNEW

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+