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

Delta Between Two Patch Sets: Doc/whatsnew/3.6.rst

Issue 26404: socketserver context manager
Left Patch Set: Created 4 years, 3 months ago
Right Patch Set: Created 4 years, 3 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 187
188 188
189 socketserver 189 socketserver
190 ---- 190 ----
Martin Panter 2016/04/13 04:52:57 Needed more underlines to stop a doc build warning
191 191
192 Servers based on the :mod:`socketserver` module, including those 192 Servers based on the :mod:`socketserver` module, including those
193 defined in :mod:`http.server`, :mod:`xmlrpc.server` and 193 defined in :mod:`http.server`, :mod:`xmlrpc.server` and
194 :mod:`wsgiref.simple_server`, supports the :term:`context manager` 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. 195 protocol.
196 (Contributed by Aviv Palivoda in :issue:`26404`.) 196 (Contributed by Aviv Palivoda in :issue:`26404`.)
197 197
198 198
199 Optimizations 199 Optimizations
200 ============= 200 =============
201 201
202 * 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
203 ``surrogateescape``, ``ignore`` and ``replace`` (Contributed 203 ``surrogateescape``, ``ignore`` and ``replace`` (Contributed
204 by Victor Stinner in :issue:`24870`). 204 by Victor Stinner in :issue:`24870`).
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 :meth:`~socketserver.BaseServer.handle_error` is no longer called, and 354 :meth:`~socketserver.BaseServer.handle_error` is no longer called, and
355 the exception will stop a single-threaded server. (Contributed by 355 the exception will stop a single-threaded server. (Contributed by
356 Martin Panter in :issue:`23430`.) 356 Martin Panter in :issue:`23430`.)
357 357
358 358
359 Changes in the C API 359 Changes in the C API
360 -------------------- 360 --------------------
361 361
362 * :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
363 with 120 if flushing buffered data failed. See :issue:`5319`. 363 with 120 if flushing buffered data failed. See :issue:`5319`.
LEFTRIGHT

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