<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/socketserver.py, branch fix-misc-acks</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>Fix typo in Lib/socketserver.py (GH-17024)</title>
<updated>2019-11-16T18:32:37+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-11-16T18:32:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5469bc0ea77ed00fd2f98807f3035e835ad8bf0f'/>
<id>5469bc0ea77ed00fd2f98807f3035e835ad8bf0f</id>
<content type='text'>
changed 'This is bad class design, but save some typing'
into 'This is bad class design, but saves some typing'.
(cherry picked from commit d0acdfcf345b44b01e59f3623dcdab6279de686a)

Co-authored-by: Jason (Perry) Taylor &lt;jtaylor@seek.com.au&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
changed 'This is bad class design, but save some typing'
into 'This is bad class design, but saves some typing'.
(cherry picked from commit d0acdfcf345b44b01e59f3623dcdab6279de686a)

Co-authored-by: Jason (Perry) Taylor &lt;jtaylor@seek.com.au&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in socketserver docstring (GH-11252)</title>
<updated>2018-12-21T23:01:34+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-21T23:01:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=97d9d90821321ce1603fb0876bba5fd6f62016b4'/>
<id>97d9d90821321ce1603fb0876bba5fd6f62016b4</id>
<content type='text'>
Fix typo in the docstring of `service_actions`.
serve_forver -&gt; serve_forever
(cherry picked from commit 6ded8986e039bbd060cf8b768b50cef18ac73e63)

Co-authored-by: Christopher Hunt &lt;chrahunt@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix typo in the docstring of `service_actions`.
serve_forver -&gt; serve_forever
(cherry picked from commit 6ded8986e039bbd060cf8b768b50cef18ac73e63)

Co-authored-by: Christopher Hunt &lt;chrahunt@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35017, socketserver: don't accept request after shutdown (GH-9952)</title>
<updated>2018-10-26T14:06:39+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-26T14:06:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=908082451382b8b3ba09ebba638db660edbf5d8e'/>
<id>908082451382b8b3ba09ebba638db660edbf5d8e</id>
<content type='text'>
Prior to this revision, after the shutdown of a `BaseServer`,
the server accepted a last single request
if it was sent between the server socket polling
and the polling timeout.

This can be problematic for instance for a server restart
for which you do not want to interrupt the service,
by not closing the listening socket during the restart.
One request failed because of this behavior.

Note that only one request failed,
following requests were not accepted, as expected.
(cherry picked from commit 10cb3760e8631a27f5db1e51b05494e29306c671)

Co-authored-by: Denis Ledoux &lt;be.ledoux.denis@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this revision, after the shutdown of a `BaseServer`,
the server accepted a last single request
if it was sent between the server socket polling
and the polling timeout.

This can be problematic for instance for a server restart
for which you do not want to interrupt the service,
by not closing the listening socket during the restart.
One request failed because of this behavior.

Note that only one request failed,
following requests were not accepted, as expected.
(cherry picked from commit 10cb3760e8631a27f5db1e51b05494e29306c671)

Co-authored-by: Denis Ledoux &lt;be.ledoux.denis@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33540: Fix socketserver.ThreadingMixIn if block_on_close=False (GH-7309)</title>
<updated>2018-06-01T12:07:50+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-06-01T12:07:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=29ae9dc7c30b23055fdd39bec4c8f19a28392351'/>
<id>29ae9dc7c30b23055fdd39bec4c8f19a28392351</id>
<content type='text'>
socketserver.ThreadingMixIn no longer tracks active threads if
block_on_close is false.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
socketserver.ThreadingMixIn no longer tracks active threads if
block_on_close is false.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33540: Add block_on_close attr to socketserver (GH-6911)</title>
<updated>2018-05-24T01:34:43+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-24T01:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fa286edbde9ed660d99628aea14ee3b824c2afe6'/>
<id>fa286edbde9ed660d99628aea14ee3b824c2afe6</id>
<content type='text'>
Add a new block_on_close class attribute to ForkingMixIn and
ThreadingMixIn classes of socketserver to opt-in for pre-3.7 behaviour.
(cherry picked from commit 453bd0bc65b7ea6a18c43da69143ab10d54c0a35)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new block_on_close class attribute to ForkingMixIn and
ThreadingMixIn classes of socketserver to opt-in for pre-3.7 behaviour.
(cherry picked from commit 453bd0bc65b7ea6a18c43da69143ab10d54c0a35)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31233: socketserver.ThreadingMixIn.server_close() (#3523)</title>
<updated>2017-09-13T08:47:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-09-13T08:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b8f4163da30e16c7cd58fe04f4b17e38d53cd57e'/>
<id>b8f4163da30e16c7cd58fe04f4b17e38d53cd57e</id>
<content type='text'>
socketserver.ThreadingMixIn now keeps a list of non-daemonic threads
to wait until all these threads complete in server_close().

Reenable test_logging skipped tests.

Fix SocketHandlerTest.tearDown(): close the socket handler before
stopping the server, so the server can join threads.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
socketserver.ThreadingMixIn now keeps a list of non-daemonic threads
to wait until all these threads complete in server_close().

Reenable test_logging skipped tests.

Fix SocketHandlerTest.tearDown(): close the socket handler before
stopping the server, so the server can join threads.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31370: Remove support for threads-less builds (#3385)</title>
<updated>2017-09-07T16:56:24+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-09-07T16:56:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344'/>
<id>a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344</id>
<content type='text'>
* Remove Setup.config
* Always define WITH_THREAD for compatibility.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove Setup.config
* Always define WITH_THREAD for compatibility.

</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31151: Add socketserver.ForkingMixIn.server_close() (#3057)</title>
<updated>2017-08-10T13:28:16+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-08-10T13:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=aa8ec34ad52bb3b274ce91169e1bc4a598655049'/>
<id>aa8ec34ad52bb3b274ce91169e1bc4a598655049</id>
<content type='text'>
* Add socketserver.ForkingMixIn.server_close()

bpo-31151: socketserver.ForkingMixIn.server_close() now waits until
all child processes completed to prevent leaking zombie processes.

* Fix test on Windows which doesn't have ForkingMixIn
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add socketserver.ForkingMixIn.server_close()

bpo-31151: socketserver.ForkingMixIn.server_close() now waits until
all child processes completed to prevent leaking zombie processes.

* Fix test on Windows which doesn't have ForkingMixIn
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused imports.</title>
<updated>2016-12-16T18:00:15+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-12-16T18:00:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=70d28a184c42d107cc8c69a95aa52a4469e7929c'/>
<id>70d28a184c42d107cc8c69a95aa52a4469e7929c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26721: Change StreamRequestHandler.wfile to BufferedIOBase</title>
<updated>2016-06-29T10:12:22+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-06-29T10:12:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=34eeed42901666fce099947f93dfdfc05411f286'/>
<id>34eeed42901666fce099947f93dfdfc05411f286</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
