@@ -1216,6 +1216,18 @@ by default.
12161216(Contributed by Christian Heimes in :issue: `28134 `.)
12171217
12181218
1219+ socketserver
1220+ ------------
1221+
1222+ :meth: `socketserver.ThreadingMixIn.server_close ` now waits until all non-daemon
1223+ threads complete. :meth: `socketserver.ForkingMixIn.server_close ` now waits
1224+ until all child processes complete.
1225+
1226+ Add a new :attr: `socketserver.ForkingMixIn.block_on_close ` class attribute to
1227+ :class: `socketserver.ForkingMixIn ` and :class: `socketserver.ThreadingMixIn `
1228+ classes. Set the class attribute to ``False `` to get the pre-3.7 behaviour.
1229+
1230+
12191231sqlite3
12201232-------
12211233
@@ -2156,10 +2168,17 @@ Changes in the Python API
21562168 and module are affected by this change. (Contributed by INADA Naoki and
21572169 Eugene Toder in :issue: `29463 `.)
21582170
2159- * :meth: `~socketserver.BaseServer.server_close ` in
2160- :class: `socketserver.ThreadingMixIn ` and :class: `socketserver.ForkingMixIn `
2161- now waits until all non-daemon threads complete.
2162- (Contributed by Victor Stinner in :issue: `31233 ` and :issue: `31151 `.)
2171+ * :meth: `socketserver.ThreadingMixIn.server_close ` now waits until all
2172+ non-daemon threads complete. Set the new
2173+ :attr: `socketserver.ThreadingMixIn.block_on_close ` class attribute to
2174+ ``False `` to get the pre-3.7 behaviour.
2175+ (Contributed by Victor Stinner in :issue: `31233 ` and :issue: `33540 `.)
2176+
2177+ * :meth: `socketserver.ForkingMixIn.server_close ` now waits until all
2178+ child processes complete. Set the new
2179+ :attr: `socketserver.ForkingMixIn.block_on_close ` class attribute to ``False ``
2180+ to get the pre-3.7 behaviour.
2181+ (Contributed by Victor Stinner in :issue: `31151 ` and :issue: `33540 `.)
21632182
21642183* The :func: `locale.localeconv ` function now temporarily sets the ``LC_CTYPE ``
21652184 locale to the value of ``LC_NUMERIC `` in some cases.
0 commit comments