cpython/Misc/NEWS.d
Sam Gross e8752d7b80
gh-118789: Add PyUnstable_Object_ClearWeakRefsNoCallbacks (#118807)
This exposes `PyUnstable_Object_ClearWeakRefsNoCallbacks` as an unstable
C-API function to provide a thread-safe mechanism for clearing weakrefs
without executing callbacks.

Some C-API extensions need to clear weakrefs without calling callbacks,
such as after running finalizers like we do in subtype_dealloc.
Previously they could use `_PyWeakref_ClearRef` on each weakref, but
that's not thread-safe in the free-threaded build.

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2024-06-18 09:57:23 -04:00
..
next gh-118789: Add PyUnstable_Object_ClearWeakRefsNoCallbacks (#118807) 2024-06-18 09:57:23 -04:00
3.5.0.rst
3.5.0a1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.5.0a2.rst
3.5.0a3.rst
3.5.0a4.rst
3.5.0b1.rst
3.5.0b2.rst
3.5.0b3.rst
3.5.0b4.rst
3.5.0rc1.rst
3.5.0rc2.rst
3.5.0rc3.rst
3.5.0rc4.rst
3.5.1.rst
3.5.1rc1.rst
3.5.2.rst
3.5.2rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.5.3.rst
3.5.3rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.5.4.rst
3.5.4rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.5.5.rst
3.5.5rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.0.rst
3.6.0a1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.6.0a2.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.0a3.rst
3.6.0a4.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.0b1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.0b2.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.6.0b3.rst
3.6.0b4.rst
3.6.0rc1.rst
3.6.0rc2.rst
3.6.1.rst
3.6.1rc1.rst
3.6.2.rst
3.6.2rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.2rc2.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.3.rst
3.6.3rc1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.6.4.rst
3.6.4rc1.rst
3.6.5.rst
3.6.5rc1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.6.6.rst
3.6.6rc1.rst
3.7.0.rst
3.7.0a1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.7.0a2.rst
3.7.0a3.rst
3.7.0a4.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.7.0b1.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.7.0b2.rst
3.7.0b3.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.7.0b4.rst Docs: fix typos in documentation (gh-118941) 2024-05-15 18:38:32 -05:00
3.7.0b5.rst
3.7.0rc1.rst
3.8.0a1.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.8.0a2.rst
3.8.0a3.rst
3.8.0a4.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.8.0b1.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.9.0a1.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.9.0a2.rst gh-101100: Fix Sphinx warnings in whatsnew/3.9.rst (#118364) 2024-04-28 20:31:22 +03:00
3.9.0a3.rst
3.9.0a4.rst
3.9.0a5.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.9.0a6.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.9.0b1.rst
3.10.0a1.rst gh-101100: Fix Sphinx warnings in whatsnew/3.9.rst (#118364) 2024-04-28 20:31:22 +03:00
3.10.0a2.rst
3.10.0a3.rst
3.10.0a4.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.10.0a5.rst
3.10.0a6.rst
3.10.0a7.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00
3.10.0b1.rst
3.11.0a1.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0a2.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0a3.rst
3.11.0a4.rst gh-101100: Fix Sphinx warnings in whatsnew/3.9.rst (#118364) 2024-04-28 20:31:22 +03:00
3.11.0a5.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0a6.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0a7.rst Fix typos in documentation (#119092) 2024-05-17 10:37:35 +00:00
3.11.0b1.rst Format None, True, False and NotImplemented as literals (GH-118758) 2024-05-08 22:35:16 +03:00
3.12.0a1.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a2.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a3.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a4.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a5.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a6.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.12.0a7.rst
3.12.0b1.rst Fix typos in documentation (#119295) 2024-05-21 18:35:05 +00:00
3.13.0a1.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a2.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a3.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a4.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a5.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0a6.rst Fix typos in what's new documentation (#119448) 2024-05-23 06:41:33 +00:00
3.13.0b1.rst gh-102511: Amend 3.13.0b1.rst (GH-119895) 2024-06-03 14:27:44 +01:00