cpython/Misc/NEWS.d/next/Library
Gregory P. Smith e51acb3fa6
[3.14] gh-134698: Hold a lock when the thread state is detached in ssl (GH-134724) (GH-137107)
* [3.14] gh-134698: Hold a lock when the thread state is detached in `ssl` (GH-134724)

Lock when the thread state is detached.
(cherry picked from commit e047a35b23)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>

* Only lock the SSL context, not the SSL socket.

This solves a deadlock when a socket is blocked while waiting on data,
which ended up causing a major regression in 3.13.6 (see gh-137583).

---------

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-10-07 18:49:22 +00:00
..
2022-01-07-16-56-57.bpo-38735.NFfJX6.rst [3.14] gh-82916: Don't fail when importing from / with sys.pycache_prefix set (GH-30456) (GH-137906) 2025-10-07 18:55:33 +02:00
2025-04-16-21-02-57.gh-issue-132551.Psa7pL.rst [3.14] gh-132551: make io.BytesIO thread safe (GH-132616) (#138551) 2025-10-07 23:48:28 +05:30
2025-05-26-10-52-27.gh-issue-134698.aJ1mZ1.rst [3.14] gh-134698: Hold a lock when the thread state is detached in ssl (GH-134724) (GH-137107) 2025-10-07 18:49:22 +00:00
2025-06-16-12-37-02.gh-issue-135444.An2eeA.rst [3.14] gh-135444: fix asyncio.DatagramTransport.sendto to account for datagram header size when data cannot be sent (GH-135445) (#137245) 2025-10-07 23:40:03 +05:30
2025-07-10-21-02-43.gh-issue-136507.pnEuGS.rst [3.14] gh-136507: Fix mimetypes CLI to handle multiple file parameters (GH-136508) (GH-138140) 2025-10-07 19:59:52 +02:00
2025-07-17-16-12-23.gh-issue-136234.VmTxtj.rst [3.14] gh-136234: Fix SelectorSocketTransport.writelines to be robust to connection loss (GH-136743) (#138702) 2025-10-07 23:06:04 +05:30
2025-07-21-15-40-00.gh-issue-136914.-GNG-d.rst [3.14] gh-136914: Fix support of cached functions and properties in DocTest's lineno computation (GH-136930) (#137616) 2025-10-07 20:48:10 +02:00
2025-07-28-20-48-32.gh-issue-137185.fgI7-B.rst [3.14] gh-137185: Fix _Py_DumpStack() async signal safety (gh-137187) (gh-137206) 2025-10-07 18:11:46 +00:00
2025-07-28-23-11-29.gh-issue-81325.jMJFBe.rst [3.14] gh-81325: Support path-like objects with streaming TarFile (GH-137188) (#137365) 2025-10-07 20:40:42 +02:00
2025-07-30-17-42-36.gh-issue-137239.qSpj32.rst [3.14] gh-137239: Add *_max functions to heapq.__all__ (gh-137241) (#137256) 2025-10-07 23:22:07 +05:30
2025-08-01-15-07-59.gh-issue-137273.4V8Xmv.rst [3.14] gh-137273: Fix debug assertion failure in locale.setlocale() on Windows (GH-137300) (#137305) 2025-10-07 20:39:13 +02:00
2025-08-01-23-11-25.gh-issue-137017.0yGcNc.rst [3.14] gh-137017: Ensure Thread.is_alive() only returns False after the underlying OS thread exits (gh-137315) (gh-138916) 2025-10-07 17:37:31 +00:00
2025-08-01-23-52-49.gh-issue-75989.5aYXNJ.rst [3.14] gh-75989: TarFile.extractall and TarFile.extract now overwrite symlinks when extracting hardlinks (GH-137316) (GH-139705) 2025-10-07 20:16:20 +02:00
2025-08-03-13-16-39.gh-issue-137044.0hPVL_.rst [3.14] gh-137044: Support large limit values in getrlimit() and setrlimit() (GH-137338) (#137506) 2025-10-07 20:43:12 +02:00
2025-08-06-23-16-42.gh-issue-137477.bk6BDV.rst [3.14] gh-137477: Fix inspect.getblock() for generator expressions (GH-137488) (#137993) 2025-10-07 20:48:40 +02:00
2025-08-31-09-06-49.gh-issue-138008.heOvsU.rst [3.14] gh-138008: Fix segfaults in _ctypes due to invalid argtypes (GH-138285) (GH-138742) 2025-10-07 20:00:28 +02:00
2025-09-11-11-09-28.gh-issue-138779.TNZnLr.rst [3.14] gh-138779: Use the dev_t converter for st_rdev (GH-138780) (#138926) 2025-10-08 00:06:55 +05:30
2025-09-18-05-32-18.gh-issue-135729.8AmMza.rst [3.14] gh-135729: Store reference to globals in Interpreter._decref (GH-139104) (GH-139112) 2025-10-07 14:18:15 -04:00
2025-09-19-09-36-42.gh-issue-112729.mmty0_.rst [3.14] gh-112729: Correctly fail when the process is out of memory during interpreter creation (GH-139164) (GH-139168) 2025-10-07 13:30:23 -04:00
README.rst Link to blurb on PyPI in the NEWS.d READMEs. (#3323) 2017-09-05 10:38:05 -07:00

Put news entry `blurb`_ files for the *Library* section in this directory.

.. _blurb: https://pypi.org/project/blurb/